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)
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>

Revision as of 16:36, 13 April 2011

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.

Usage Notes

Examples

See also