System methods syntax: Difference between revisions
m (Automatically generated page update) |
m (Automatically generated page update) |
||
Line 25: | Line 25: | ||
<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">%(System):[[ListOfStrings (System function)|ListOfStrings]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="term" title="String">string</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">%(System):[[ListOfStrings (System function)|ListOfStrings]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="term" title="String">string</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">%boolean</span><span class="literal"> =</span> <span class="literal">%(System):[[RecordIsUpdated (System function)|RecordIsUpdated]]</span><span class="literal">(</span> <span class="term" title="String">string</span><span class="comma">,</span> <span class="term" title="Number">number</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">%boolean</span><span class="literal"> =</span> <span class="literal">%(System):[[RecordIsUpdated (System function)|RecordIsUpdated]]</span><span class="literal">(</span> <span class="term" title="String">string</span><span class="comma">,</span> <span class="term" title="Number">number</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">%currentBoolean</span><span class="literal"> =</span> <span class="literal">%(System):[[RunSubsystemErrorProcedure (System property)|RunSubsystemErrorProcedure]]</span> | |||
<span class="literal">%(System):[[RunSubsystemErrorProcedure (System property)|RunSubsystemErrorProcedure]]</span> <span class="literal">= </span><span class="term">newBoolean</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="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">%gen</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">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">%gen</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">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> |
Revision as of 20:47, 20 November 2012
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
%string = %(System):ClientCertificate[( [RequestCertificate= boolean])]
%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])]
%boolean = %(System):RecordIsUpdated( string, number)
%currentBoolean = %(System):RunSubsystemErrorProcedure %(System):RunSubsystemErrorProcedure = newBoolean
%(System):SetGlobal( name, value)
[%gen =] %(System):SetObject( name, object, [testGen])
[%number =] %(System):SetString( name, value, [oldValue])
%value = %(System):String( name)
[%number =] %(System):WakeupAt( timeInMilliseconds)