Subsystem methods syntax: Difference between revisions
m (Automatically generated page update) |
m (Automatically generated page update) |
||
Line 15: | Line 15: | ||
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="literal">%(Subsystem):[[SetGlobal (Subsystem subroutine)|SetGlobal]]</span><span class="literal">(</span> <span class="term" title="String">name</span><span class="comma">,</span> <span class="term" title="String">value</span><span class="literal">)</span></p> | <p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="literal">%(Subsystem):[[SetGlobal (Subsystem subroutine)|SetGlobal]]</span><span class="literal">(</span> <span class="term" title="String">name</span><span class="comma">,</span> <span class="term" title="String">value</span><span class="literal">)</span></p> | ||
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="squareb">[</span><span class="term">%number</span><span class="literal"> =</span><span class="squareb">]</span> <span class="literal">%(Subsystem):[[SetObject (Subsystem function)|SetObject]]</span><span class="literal">(</span> <span class="term" title="String">string</span><span class="comma">,</span> <span class="term" title="Object">object</span><span class="comma">,</span> <span class="squareb">[</span><span class="term" title="Number">number</span><span class="squareb">]</span><span class="literal">)</span></p> | <p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="squareb">[</span><span class="term">%number</span><span class="literal"> =</span><span class="squareb">]</span> <span class="literal">%(Subsystem):[[SetObject (Subsystem function)|SetObject]]</span><span class="literal">(</span> <span class="term" title="String">string</span><span class="comma">,</span> <span class="term" title="Object">object</span><span class="comma">,</span> <span class="squareb">[</span><span class="term" title="Number">number</span><span class="squareb">]</span><span class="literal">)</span></p> | ||
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="squareb">[</span><span class="term">%number</span><span class="literal"> =</span><span class="squareb">]</span> <span class="literal">%(Subsystem):[[SetString (Subsystem function)|SetString]]</span><span class="literal">(</span> <span class="term" title="String"> | <p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="squareb">[</span><span class="term">%number</span><span class="literal"> =</span><span class="squareb">]</span> <span class="literal">%(Subsystem):[[SetString (Subsystem function)|SetString]]</span><span class="literal">(</span> <span class="term" title="String">name</span><span class="comma">,</span> <span class="term" title="String">value</span><span class="comma">,</span> <span class="squareb">[</span><span class="term" title="String">oldValue</span><span class="squareb">]</span><span class="literal">)</span></p> | ||
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%string</span><span class="literal"> =</span> <span class="literal">%(Subsystem):[[String (Subsystem function)|String]]</span><span class="literal">(</span> <span class="term" title="String">string</span><span class="literal">)</span></p> | <p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%string</span><span class="literal"> =</span> <span class="literal">%(Subsystem):[[String (Subsystem function)|String]]</span><span class="literal">(</span> <span class="term" title="String">string</span><span class="literal">)</span></p> |
Revision as of 18:07, 24 March 2011
The syntax for each of the Subsystem class methods is shown below.
Square brackets indicate optional elements of the method invocation. See also the notation conventions for methods and the List of Subsystem methods.
%currentString = %(Subsystem):Context %(Subsystem):Context = newString
%(Subsystem):DeleteGlobal( string)
%(Subsystem):DeleteObject( string)
%(Subsystem):DeleteString( string)
[%number =] %(Subsystem):GetObject( string, object)
%sl = %(Subsystem):ListOfGlobals[( [nameW], [subsysW])]
%sl = %(Subsystem):ListOfObjects[( [nameW], [subsysW])]
%sl = %(Subsystem):ListOfStrings[( [nameW], [subsysW])]
%string = %(Subsystem):Name
%subsystem = %(Subsystem):New
%(Subsystem):SetGlobal( name, value)
[%number =] %(Subsystem):SetObject( string, object, [number])
[%number =] %(Subsystem):SetString( name, value, [oldValue])
%string = %(Subsystem):String( string)