An actuallist specifies the parameters M passes to the invoked routine. The actuallist contains a list of zero or more parameters enclosed in parentheses, immediately following a DO or extrinsic function.
An actuallist:
Is made up of items separated by commas
Contains expressions and/or actualnames. Items may be missing, that is, two commas may appear next to each other, with nothing between them.
Must be used in an invocation of a label with a formallist, except in the case of extrinsic special variables.
Must not contain undefined variables.
Must not have more items than a formallist with which it is used.
May contain the same item in more than one position.
Example:
GTM>DO MULT(3,X,.RESULT)
This example illustrates a DO with parameters. The actuallist contains:
3 - a numeric literal
X - a local variable
.RESULT - an actualname