The number of the argument being referred to. If n = 0, ABL substitutes the name of the current procedure (the name you used when you called it, not the full pathname) as the argument. If
n = *, ABL substitutes all arguments that the calling procedure passes (but not the name {0}). If you refer to the
nth parameter and the calling procedure does not supply it, {
n} is ignored.
If argument-name is an asterisk (*), ABL substitutes all arguments that the calling procedure passes. It also adds quotation marks to each parameter, so you can pass the named argument list through multiple levels of include files.
The procedure r-arg.p runs procedure
r-arg2.p, passing the arguments customer and name to
r-arg2.p. ABL substitutes these arguments for {1} and {2} in the
r-arg2.p procedure.
The r-inc.p procedure defines the variables
txt and
num, and assigns the values "Progress VERSION" and "7" to them. The
r-inc.p procedure includes the
r-inc.ifile and passes the
&int and
&str arguments to the include file. Because the parameters are named, their order is unimportant. The called procedure can find each argument, regardless of placement. The
r-inc.i include file displays a message that consists of the passed arguments. The asterisk argument displays all the parameters as they are listed in the
r-inc.p procedure.