HP Business BASIC/XL Reference Manual - HP 3000 MPE/iX Computer Systems - Edition 1 (32715-90001)

4-: 139
f_param
A formal parameter. One of the following:
[
type
]
num_var num_var
is a numeric variable
and
type
is one of the
following:
SHORT
SHORT REAL
SHORT INTEGER
SHORT DECIMAL
REAL
INTEGER
DECIMAL
If
type
is not specified,
num_var
is declared with the
default numeric type. If
type
is specified, it determines
the type of each
num_var
between it and the next
type
or the next nonnumeric
f_param
.
str_var
$ String variable. Its maximum
length is the same as that of
the actual parameter.
[
type
]
num_var
Abbreviated numeric array
([*[,*]...]) declaration, with one asterisk
per dimension or no asterisks.
No asterisks specifies any
number of dimensions. Either
format is legal, but the
format without asterisks is
noncompilable when there is no
reference in the subunit that
allows the compiler to
determine the number of
dimensions for the array.
type
is one of the following:
SHORT
SHORT REAL
SHORT INTEGER
SHORT DECIMAL
INTEGER
REAL
DECIMAL
If
type
is not specified,
num_var
is declared with the
default numeric type. If
type
is specified, it determines
the type of each
num_var
between it and the next
type
or the next nonnumeric
f_param
.
str_var
$ ([*[,*]...]) Abbreviated string array
declaration, with one asterisk
per dimension or no asterisks.
No asterisks specifies any
number of dimensions. Either
format is legal, but the
format without asterisks is
noncompilable. The maximum
length of each element is the
same as declared for the
actual parameter by the