ATTRIBUTES VARYING

The ATTRIBUTES directive option VARYING allows a variable number of calling arguments. It takes the following form:

Syntax

cDEC$ ATTRIBUTES VARYING :: var[, var] ...

c

Is one of the following: C (or c), !, or *. (See Syntax Rules for Compiler Directives.)

var

Is the name of a variable.

Either the first argument must be a number indicating how many arguments to process, or the last argument must be a special marker (such as -1) indicating it is the final argument. The sequence of the arguments, and types and kinds must be compatible with the called procedure.

If VARYING is specified, the C option must also be specified.

See Also