Context (Subsystem property): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
(Automatically generated page update)
 
(16 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<span style="font-size:120%; color:black"><b><section begin=dpl_desc/>Indicate subsystem context<section end=dpl_desc/></b></span>
{{Template:Subsystem:Context subtitle}}
[[Category:Subsystem methods|Context property]]
The <var>Context</var> shared property sets or gets the current value for the <var>subsystem</var> context.  Once a <var>subsystem</var> context is set, all subsequent <var>Subsystem</var> class methods apply to that <var>subsystem</var> context, as discussed in [[System and Subsystem classes#Subsystem context|"Subsystem context"]].
[[Category:System/Subsystem methods]]
<!--DPL?? Category:Subsystem methods|Context property: Indicate subsystem context-->
<p>
Context is a member of the [[Subsystem class]].
</p>


This shared property sets or gets the current value for the subsystem context.
==Syntax==
Once a subsystem context is set, all Subsystem class methods apply to that
{{Template:Subsystem:Context syntax}}
subsystem context, as discussed in "[[System and Subsystem classes#Subsystem context|Subsystem context]]".
===Syntax terms===
===Syntax===
<table class="syntaxTable">
  %(Subsystem):Context = newValue
<tr><th>currentString</th><td>A string to receive the name of the current <var>subsystem</var> context.</td></tr>
<tr><th><var class="nobr">%(Subsystem)</var></th><td>The class name in parentheses denotes a [[Notation conventions for methods#Shared methods|shared]] method.</td></tr>
<tr><th>newString</th><td>The string value that identifies the <var>subsystem</var> that is to become the new context.</td></tr>
</table>


  %currValue = %(Subsystem):Context
==See also==
====Syntax Terms====
{{Template:Subsystem:Context footer}}
<dl>
<dt>%(Subsystem)
<dd>The class name in parentheses denotes a shared method.
<dt><i><b>newValue</b></i>
<dd>The string value
that identifies the subsystem that is to become the new context.
<dt><i><b>currValue</b></i>
<dd>A string to contain the name of the current subsystem context.
</dl>

Latest revision as of 00:31, 16 February 2014

Indicate the subsystem context (Subsystem class)

The Context shared property sets or gets the current value for the subsystem context. Once a subsystem context is set, all subsequent Subsystem class methods apply to that subsystem context, as discussed in "Subsystem context".

Syntax

%currentString = %(Subsystem):Context %(Subsystem):Context = newString

Syntax terms

currentStringA string to receive the name of the current subsystem context.
%(Subsystem)The class name in parentheses denotes a shared method.
newStringThe string value that identifies the subsystem that is to become the new context.

See also