Daemon methods syntax: Difference between revisions
m (Automatically generated page update) |
m (Automatically generated page update) |
||
Line 2: | Line 2: | ||
replaced, so any manual edits will be lost. You've been warned. --> | replaced, so any manual edits will be lost. You've been warned. --> | ||
{{Template:Syntax list header|class=Daemon}} | {{Template:Syntax list header|class=Daemon}} | ||
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top:1px solid;"><span class="term">%boolean</span><span class="literal"> =</span> <span class="literal">%(Daemon):[[AmDaemon (Daemon | <p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top:1px solid;"><span class="term">%boolean</span><span class="literal"> =</span> <span class="literal">%(Daemon):[[AmDaemon (Daemon property)|AmDaemon]]</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">%(Daemon):[[GetInputObject (Daemon subroutine)|GetInputObject]]</span><span class="literal">(</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="literal">%(Daemon):[[GetInputObject (Daemon subroutine)|GetInputObject]]</span><span class="literal">(</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">%boolean</span><span class="literal"> =</span> <span class="term">daemon</span><span class="literal">:[[HaveDaemon (Daemon function)|HaveDaemon]]</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="term">daemon</span><span class="literal">:[[HaveDaemon (Daemon function)|HaveDaemon]]</span></p> |
Revision as of 04:44, 7 February 2011
The syntax for each of the Daemon 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 Daemon methods.
%boolean = %(Daemon):AmDaemon
%(Daemon):GetInputObject( oBJECT)
%boolean = daemon:HaveDaemon
%number = daemon:LastCommandErrorCount
%number = %(Daemon):MasterNumber
%daemon = %(Daemon):New[( [CopyGlobals= boolean], [Transactional= boolean])]
daemon:Open( string, [Default= boolean])
%number = %(Daemon):ParentNumber
%(Daemon):ReturnInfoObject( boolean)
%(Daemon):ReturnObject( boolean)
[%sl =] daemon:Run( string, [boolean], [oBJECT], [Info= oBJECT])
daemon:RunAsynchronously( string, [boolean])
daemon:RunIndependently( string, [boolean])
%number = daemon:UserNumber
%userStatistics = daemon:UserStatistics
[%sl =] daemon:WaitAsynchronous[( [oBJECT], [Info= oBJECT])]