Template:Daemon:Run syntax: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
m (1 revision)
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<!-- This page was automatically generated and will be automatically
<!-- This page was automatically generated and will be automatically
     replaced, so any manual edits will be lost. You've been warned. -->
     replaced, so any manual edits will be lost. You've been warned. -->
<p class="syntax"><span class="squareb">[</span><span class="term">%sl</span><span class="literal"> =</span><span class="squareb">]</span> <span class="term">daemon</span><span class="literal">:Run</span><span class="literal">(</span> <span class="term" title="String">command[s]</span><span class="comma">,</span> <span class="squareb">[</span><span class="term" title="Boolean">inputObj</span><span class="squareb">]</span><span class="comma">,</span> <span class="squareb">[</span><span class="term" title="Object">outputObj</span><span class="squareb">]</span><span class="comma">,</span> <span class="squareb">[</span><span class="literal" title="Object">Info=</span> <span class="term" title="Object">object</span><span class="squareb">]</span><span class="literal">)</span></p>
<p class="syntax"><span class="squareb">[</span><span class="term">%sl</span><span class="literal"> =</span><span class="squareb">]</span> <span class="term">daemon</span><span class="literal">:Run</span><span class="literal">(</span> <span class="term" title="String">commands</span><span class="comma">,</span> <span class="squareb">[</span><span class="squareb">[</span><span class="literal" title="Object">Input=</span><span class="squareb">]</span> <span class="term" title="Object">object</span><span class="squareb">]</span><span class="comma">,</span> <span class="squareb">[</span><span class="squareb">[</span><span class="literal" title="Object">Output=</span><span class="squareb">]</span> <span class="term" title="Object">object</span><span class="squareb">]</span><span class="comma">,</span>           -
                    <span class="squareb">[</span><span class="literal" title="Object">Info=</span> <span class="term" title="Object">object</span><span class="squareb">]</span><span class="literal">)</span>
 
Throws [[DaemonLost class|DaemonLost]], [[IncorrectDaemonState class|IncorrectDaemonState]]</p>

Latest revision as of 20:57, 28 November 2012

[%sl =] daemon:Run( commands, [[Input=] object], [[Output=] object], - [Info= object]) Throws DaemonLost, IncorrectDaemonState