Context (Subsystem property): Difference between revisions
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 | ===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> | ||
==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
currentString | A string to receive the name of the current subsystem context. |
---|---|
%(Subsystem) | The class name in parentheses denotes a shared method. |
newString | The string value that identifies the subsystem that is to become the new context. |