$ProcGet: Difference between revisions

From m204wiki
Jump to navigation Jump to search
(Created page with "{{DISPLAYTITLE:$ProcGet}} <span class="pageSubtitle"><section begin="desc" />Next line of procedure<section end="desc" /></span> <p class="warning">Most Sirius $functions have b...")
 
(Automatically generated page update)
 
(30 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{DISPLAYTITLE:$ProcGet}}
{{DISPLAYTITLE:$ProcGet}}
<span class="pageSubtitle"><section begin="desc" />Next line of procedure<section end="desc" /></span>
<span class="pageSubtitle">Next line of procedure</span>


<p class="warning">Most Sirius $functions have been deprecated in favor of Object Oriented methods. The OO equivalent for the $ProcGet function is [[to be entered]].</p>
<p class="warn"><b>Note: </b>Many $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 <var>[[AppendOpenProcedure (Stringlist function)|AppendOpenProcedure]]</var> as a starting point.</p>


$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.  
<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.


$ProcGet accepts no arguments. 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==
==Syntax==
<p class="syntax"><section begin="syntax" />
<p class="syntax"><span class="term">%x</span> = <span class="literal">$ProcGet</span>()
<ul>
</p>


<li>''[[Sirius Functions]]''
==Products authorizing {{PAGENAMEE}}==
<li>''[[Fast/Unload User Language Interface]]''
<ul class="smallAndTightList">
<li>''[[Janus Web Server]]''
<li><var class="product">[[Sirius Functions]]</var>
<li><var class="product">[[Fast/Unload User Language Interface]]</var>
<li><var class="product">[[Janus Web Server]]</var>
</ul>
</ul>
   
   
<section end="syntax" /></p>
<p class="caption">Products authorizing $ProcGet
</p>
[[Category:$Functions|$ProcGet]]
[[Category:$Functions|$ProcGet]]

Latest revision as of 22:36, 20 September 2018

Next line of procedure

Note: Many $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 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

%x = $ProcGet()

Products authorizing $ProcGet