Language Reference


CALL Statement

  • CALL name <(arguments)>;

The CALL statement enables you to call a built-in or user-defined subroutine.

The arguments to the CALL statement are as follows:

name

is the name of a built-in subroutine or a user-defined module.

arguments

are arguments to the module or subroutine.

The CALL statement executes a subroutine. If you define a module that has the same name as a built-in subroutine, the CALL statement can be used to call the built-in subroutine.

See also the section on the RUN statement .