[Next] [Up] [Previous]

The STATEMENT Statement

Declaring a subroutine, including an alias created by the ALIAS statement, in a statement of the form

       STATEMENT MYSUB

causes

       MYSUB ...

to be equivalent to

       CALL MYSUB(...)

in the program in which the statement appears. Note that if MYSUB is to select alternatives, they must be arguments of type ALTERNATIVE, and the return code method cannot be used for this purpose.

Note also that this method only creates executable statements.


[Next] [Up] [Previous]