Context (Subsystem property): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (guess subtitle, syntax and footer template names, match syntax terms to template, lots of tags and editscopy contetnt from PDF)
(Automatically generated page update)
 
(14 intermediate revisions by 2 users not shown)
Line 4: Line 4:
==Syntax==
==Syntax==
{{Template:Subsystem:Context syntax}}
{{Template:Subsystem:Context syntax}}
===Syntax Terms===
===Syntax terms===
<table class="syntaxTable">
<table class="syntaxTable">
<tr><th>currentString</th><td>A string to receive the name of the current <var>subsystem</var> context.</td></tr>
<tr><th>currentString</th><td>A string to receive the name of the current <var>subsystem</var> context.</td></tr>
<tr><th>%(Subsystem)</th><td>The class name in parentheses denotes a shared method.</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>
<tr><th>newString</th><td>The string value that identifies the <var>subsystem</var> that is to become the new context.</td></tr>
</table>
</table>
==Usage Notes==
==Examples==


==See also==
==See also==
{{Template:Subsystem:Context footer}}
{{Template:Subsystem:Context footer}}

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