$ProcGet: Difference between revisions
m (1 revision) |
mNo edit summary |
||
Line 2: | Line 2: | ||
<span class="pageSubtitle"><section begin="desc" />Next line of procedure<section end="desc" /></span> | <span class="pageSubtitle"><section begin="desc" />Next line of procedure<section end="desc" /></span> | ||
<p class="warning">Most Sirius $functions have been deprecated in favor of Object Oriented methods. | <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> | ||
$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. | $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. | ||
$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. | $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"><section begin="syntax" /> %x = $ProcGet() | ||
< | <section end="syntax" /></p> | ||
<ul class="smallAndTightList"> | |||
<li>''[[Sirius Functions]]'' | <li>''[[Sirius Functions]]'' | ||
<li>''[[Fast/Unload User Language Interface]]'' | <li>''[[Fast/Unload User Language Interface]]'' | ||
Line 16: | Line 18: | ||
</ul> | </ul> | ||
<p class="caption">Products authorizing $ProcGet | <p class="caption">Products authorizing $ProcGet | ||
</p> | </p> | ||
[[Category:$Functions|$ProcGet]] | [[Category:$Functions|$ProcGet]] |
Revision as of 22:16, 1 February 2011
<section begin="desc" />Next line of procedure<section end="desc" />
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.
$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
<section begin="syntax" /> %x = $ProcGet() <section end="syntax" />