&IF
&IF
&IF
entered.
CHECKING
specific argument
numeric data. To
functions &LENGTH
of tests that
cases,
or to test whether an argument is character data or
perform these tests,
and
to receive the result of the function, and then test the variable. For
you could use the statements:
&IF
greater than five characters, the
indicates the length of &1.
If you wish to check whether a number was entered for an argument,
use the
&IF
In this example, the second argument expected
numeric quantity. If it is not, a branch is taken to an error exit
routine.
then takes various paths, depending on the argument. For example:
&IF &2 =
not entered, the
There are two special
passed in an
or an
variables &1 through &30, as follows:
274