$ProcGet: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
mNo edit summary
Line 4: Line 4:
<p class="warning">Most Sirius $functions have been deprecated in favor of Object Oriented methods. There is no direct OO equivalent for the $ProcGet function, however a whole family of methods is available, based on the OO interface to stringLists.  See the [[AppendOpenProcedure (Stringlist function)]] as a starting point.</p>
<p class="warning">Most Sirius $functions have been deprecated in favor of Object Oriented methods. There is no direct OO equivalent for the $ProcGet function, however a whole family of methods is available, based on the OO interface to stringLists.  See the [[AppendOpenProcedure (Stringlist function)]] as a starting point.</p>


<var>$ProcGet</var> accepts no arguments and returns a string result. Each call to <var>$ProcGet</var> returns either the next line of the current procedure or a null string to signify the end of the current procedure.
<var>$ProcGet</var> accepts no arguments and returns a string result. Each call to <var>$ProcGet</var> returns either the next line of the current procedure or a null string to signify the end of the current procedure. If the next input line from the current procedure contains a <code>??</code>, the <code>??</code> is replaced by the third argument specified on the <var>[[$ProcOpn]]</var> associated with the open procedure, just as if the third <var>$ProcOpn</var> argument had been specified after the procedure name on an <var>INCLUDE</var> command.
 
<var>$ProcGet</var> accepts no arguments. If the next input line from the current procedure contains a '??', the '??' is replaced by the third argument specified on the <var>$ProcOpn</var> associated with the open procedure, just as if the third <var>$ProcOpn</var> argument had been specified after the procedure name on an 'INCLUDE' command.


==Syntax==
==Syntax==
Line 13: Line 11:


<h2>Products authorizing {{PAGENAMEE}}</h2><ul class="smallAndTightList">
<h2>Products authorizing {{PAGENAMEE}}</h2><ul class="smallAndTightList">
<li>''[[Sirius Functions]]''
<li><var class="product">[[Sirius Functions]]</var>
<li>''[[Fast/Unload User Language Interface]]''
<li><var class="product">[[Fast/Unload User Language Interface]]</var>
<li><var class="product">[[Janus Web Server]]</var>
<li><var class="product">[[Janus Web Server]]</var>
</ul>
</ul>

Revision as of 17:57, 29 October 2012

Next line of procedure

Most Sirius $functions have been deprecated in favor of Object Oriented methods. There is no direct OO equivalent for the $ProcGet function, however a whole family of methods is available, based on the OO interface to stringLists. See the AppendOpenProcedure (Stringlist function) as a starting point.

$ProcGet accepts no arguments and returns a string result. Each call to $ProcGet returns either the next line of the current procedure or a null string to signify the end of the current procedure. If the next input line from the current procedure contains a ??, the ?? is replaced by the third argument specified on the $ProcOpn associated with the open procedure, just as if the third $ProcOpn argument had been specified after the procedure name on an INCLUDE command.

Syntax

<section begin="syntax" />%x = $ProcGet() <section end="syntax" />

Products authorizing $ProcGet