A formallist specifies the variables M uses to hold passed values. A formallist contains a list of zero or more parameters enclosed in parentheses, immediately following a label.
A formallist:
Is made up of items separated by commas.
Contains unsubscripted local variable names.
Must be used and only used with a label invoked with an actuallist or an extrinsic.
May contain undefined variables.
May have more items than an actuallist with which it is used.
Must not contain the same item in more than one position.
Must contain at least as many items as the actuallist with which it is used.
Example:
MULT(MP,MC,RES) SET RES=MP*MC QUIT RES
In this example, illustrating a simple parameterized routine, the formallist contains the following items:
MP
MC
RES
An example in the section describing "Actuallists" shows an invocation that matches this routine.