Previous Topic: Pass ArgumentsNext Topic: Return Information


Omit Arguments

A value of zero in the first word of the argument and a zero in the second word denotes an omitted argument. An omitted argument is different from a null string argument (indicated by a non-zero first word and a zero in the second word). For example, this function call:

x = abc(,"",3)

Results in this argument list:

DC A(0),F"0"
DC A(ARG2),F"0"
DC A(ARG3),F"1"
DC X"FFFFFFFF",X"FFFFFFFF"

In this example:

ARG2 DC C" " or  ARG2 EQU 1
ARG3 DC C"3"

The "" symbol denotes a null argument.