HP Business BASIC/XL Reference Manual - HP 3000 MPE/iX Computer Systems - Edition 1 (32715-90001)
5-21
letters to a string containing only lowercase letters. An optional
second parameter can be used to specify the native language number.
Syntax
LWC$ (
str_expr
[,
nl_num_expr
] )
Parameters
str_expr
A string variable, a quoted string, the value returned
from a string function, or any expression using the
appropriate string operators to construct a string
expression.
nl_num_expr
A numeric expression that evaluates to a Native Language
ID. If
nl_num_expr
is set to -1, the underlying native
language number is used as the language specifier. If a
non-negative value is used, that number is taken
directly as the language specifier. If this option is
not specified then the option defaults to zero (the
underlying native language).
The underlying native is NATIVE-3000. NATIVE-3000 is the language the
system uses before considering Native Language Support. Refer to "Native
Language Support" in chapter 6 for more information.
MAX
The MAX function returns the largest value in a group of numbers. The
result of this function is of the same type as the argument.
Syntax
MAX(
n
[,
n
]...)
Parameters
n
Each number that is to be evaluated. These can be of
any numeric type.
Examples
10 A = MAX(3,1,2) !A = 3
MAXLEN
The MAXLEN function returns the maximum length of a string expression, in
characters. The maximum length is determined by the DIM statement or the
system default.
Syntax
MAXLEN(
S
$)
Parameters
S
$ A string expression whose maximum length is to be
returned.
Examples
10 DIM A$[30]
20 B = MAXLEN(A$) !B = 30
MIN
The MIN function returns the smallest value in a series of numbers. The
result of this function will be of the same type as the arguments.
Syntax
MIN(
n
[,
n
]...)
Parameters
n
Each number that is to be evaluated. These can be of