MAINSAIL Language Manual, Section 42.5

previous   next   top   contents   index   framed top   this page unframed


42.5. $newProcvar

Figure 42–7. $newProcvar
$PROCVAR
PROCEDURE   $sNewProcVar
                        (
POINTER dataSec;
                         
STRING procName);

$newProcvar is a PROCEDURE that creates an unmodeled $PROCVAR. This PROCEDURE should be used only when $PROC (see Section 8.5) cannot be used.

$newProcvar is unsafe since it allows the formation of a $PROCVAR that references a PROCEDURE of unknown characteristics.

$newProcVar takes a POINTER to a data section and the name of a PROCEDURE in that data section, and returns an unmodeled $PROCVAR that references that PROCEDURE. It returns $NULLPROCVAR if there is no such PROCEDURE.


previous   next   top   contents   index   framed top   this page unframed

MAINSAIL Language Manual, Section 42.5