$ProcGet

From m204wiki
Revision as of 23:59, 15 April 2013 by Admin (talk | contribs)
Jump to navigation Jump to search

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