Subsystem methods syntax: Difference between revisions
m (Automatically generated page update) |
(Automatically generated page update) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 8: | Line 8: | ||
<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):[[DeleteString (Subsystem subroutine)|DeleteString]]</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="literal">%(Subsystem):[[DeleteString (Subsystem subroutine)|DeleteString]]</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="squareb">[</span><span class="term">%number</span><span class="literal"> =</span><span class="squareb">]</span> <span class="literal">%(Subsystem):[[GetObject (Subsystem function)|GetObject]]</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="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):[[GetObject (Subsystem function)|GetObject]]</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="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">%sl</span><span class="literal"> =</span> <span class="literal">%(Subsystem):[[ListOfGlobals (Subsystem function)|ListOfGlobals]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</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="term">%sl</span><span class="literal"> =</span> <span class="literal">%(Subsystem):[[ListOfGlobals (Subsystem function)|ListOfGlobals]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="term" title="String">subsysW</span><span class="squareb">]</span><span class="comma">,</span> <span class="squareb">[</span><span class="term" title="String">nameW</span><span class="squareb">]</span><span class="literal">)</span><span class="squareb">]</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">%sl</span><span class="literal"> =</span> <span class="literal">%(Subsystem):[[ListOfObjects (Subsystem function)|ListOfObjects]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</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="term">%sl</span><span class="literal"> =</span> <span class="literal">%(Subsystem):[[ListOfObjects (Subsystem function)|ListOfObjects]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="term" title="String">subsysW</span><span class="squareb">]</span><span class="comma">,</span> <span class="squareb">[</span><span class="term" title="String">nameW</span><span class="squareb">]</span><span class="literal">)</span><span class="squareb">]</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">%sl</span><span class="literal"> =</span> <span class="literal">%(Subsystem):[[ListOfStrings (Subsystem function)|ListOfStrings]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</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="term">%sl</span><span class="literal"> =</span> <span class="literal">%(Subsystem):[[ListOfStrings (Subsystem function)|ListOfStrings]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="term" title="String">subsysW</span><span class="squareb">]</span><span class="comma">,</span> <span class="squareb">[</span><span class="term" title="String">nameW</span><span class="squareb">]</span><span class="literal">)</span><span class="squareb">]</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):[[Name (Subsystem property)|Name]]</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):[[Name (Subsystem property)|Name]]</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="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">% | <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">%gen</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">name</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">testGen</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">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="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">% | <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">%value</span><span class="literal"> =</span> <span class="literal">%(Subsystem):[[String (Subsystem function)|String]]</span><span class="literal">(</span> <span class="term" title="String">name</span><span class="literal">)</span></p> |
Latest revision as of 03:34, 14 May 2016
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[( [subsysW], [nameW])]
%sl = %(Subsystem):ListOfObjects[( [subsysW], [nameW])]
%sl = %(Subsystem):ListOfStrings[( [subsysW], [nameW])]
%string = %(Subsystem):Name
%(Subsystem):SetGlobal( name, value)
[%gen =] %(Subsystem):SetObject( name, object, [testGen])
[%number =] %(Subsystem):SetString( name, value, [oldValue])
%value = %(Subsystem):String( name)