HP 3000 Manuals

Subroutine Call Statement [ SPL to HP C/XL Migration Guide ] MPE/iX 5.0 Documentation


SPL to HP C/XL Migration Guide

Subroutine Call Statement 

SPL subroutines may be called from the procedures in which they are
declared.

HP C/XL does not allow nested functions.  Subroutines must be converted
either to #define macro directives to generate code inline, or to
functions that may be callable by other functions.  See "SUBROUTINE
Declaration" for further details.

The subroutine call itself may not require any modification at all.  If
you use a #define macro directive, make sure the left parenthesis in both
the macro directive and the macro reference follows the identifier with
no spaces.  e.g., "mysubcall( arg )".



MPE/iX 5.0 Documentation