System methods syntax: Difference between revisions
m (Automatically generated page update) |
m (Automatically generated page update) |
||
Line 27: | Line 27: | ||
<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">%(System):[[SetGlobal (System 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">%(System):[[SetGlobal (System 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">%(System):[[SetObject (System 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">%(System):[[SetObject (System 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">%(System):[[SetString (System 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">%(System):[[SetString (System 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">%(System):[[String (System 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">%(System):[[String (System 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 System 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 System methods.
%string = %(System):Arguments
%sl = %(System):CallStack
%string = %(System):CallStackCaller( number)
%number = %(System):CallStackDepth
%number = %(System):ConnectionStartTimeMilliseconds
%string = %(System):ConnectionStartTimeString[( [format])]
%boolean = %(System):CurrentRecordIsUpdated
%number = %(System):CurrentTimeDays
%number = %(System):CurrentTimeMilliseconds
%number = %(System):CurrentTimeSeconds
%string = %(System):CurrentTimeString[( [format])]
%(System):DeleteGlobal( string)
%(System):DeleteObject( string)
%(System):DeleteString( string)
[%number =] %(System):GetObject( string, object)
%string = %(System):LastSubsystemErrorFile
%string = %(System):LastSubsystemErrorProcedure
%string = %(System):LastSubsystemErrorSubsystem
%sl = %(System):ListOfGlobals[( [string])]
%sl = %(System):ListOfObjects[( [string])]
%sl = %(System):ListOfStrings[( [string])]
%system = %(System):New
%boolean = %(System):RecordIsUpdated( string, number)
%(System):SetGlobal( name, value)
[%number =] %(System):SetObject( string, object, [number])
[%number =] %(System):SetString( name, value, [oldValue])
%string = %(System):String( string)