System methods syntax: Difference between revisions
m (Automatically generated page update) |
m (Automatically generated page update) |
||
Line 29: | Line 29: | ||
<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="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">%value</span><span class="literal"> =</span> <span class="literal">%(System):[[String (System function)|String]]</span><span class="literal">(</span> <span class="term" title="String">name</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">%value</span><span class="literal"> =</span> <span class="literal">%(System):[[String (System function)|String]]</span><span class="literal">(</span> <span class="term" title="String">name</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):[[WakeupAt (System function)|WakeupAt]]</span><span class="literal">(</span> <span class="term" title="Number">timeInMilliseconds</span><span class="literal">)</span></p> |
Revision as of 15:55, 20 July 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)
[%gen =] %(System):SetObject( name, object, [testGen])
[%number =] %(System):SetString( name, value, [oldValue])
%value = %(System):String( name)
[%number =] %(System):WakeupAt( timeInMilliseconds)