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

5- 20
expression.
nl_num_expr
A numeric expression that evaluates to a Native
Language ID. If
nl_num_expr
is -1, the underlying
native language number is used as the language
specifier. If a non-negative number is used, that
number is taken directly as the language specifier.
If the native language option is not specified then
the option defaults to zero (the underlying native
language).
The underlying native language specifies NATIVE-3000. NATIVE-3000 is the
system language that does not consider Native Language Support. For more
information on Native Language Support, refer to "Native Language
Support" in chapter 6.
The native language number used for the comparison is determined by the
normal selection process. A native language number can be supplied as
the third argument.
LGT
The LGT function returns the log to the base 10 of a number. The result
is a REAL number.
Syntax
LGT(
n
)
Parameters
n
The number that log to the base l0 is evaluated to.
This is a REAL number.
Examples
10 A = LGT(100) !A = 2
20 B = LGT(0.01) !B = -2
LOG
The LOG function returns the log of e to a number. e is a constant that
has the value of 2.718281828. This function returns a REAL number.
Syntax
LOG(
n
)
Parameters
n
The number that log e is evaluated to. This argument is
a REAL number.
Examples
10 A = LOG(1) !A = 0
20 B = LOG(2.718281828) !B = 1
LTRIM$
The LTRIM$ returns a copy of a string expression without leading blanks.
Syntax
LTRIM$(
S
$)
Parameters
S
$ The string expression that is to be trimmed.
Examples
10 A$ = LTRIM(" Hi") !A$ = "Hi"
LWC$
The lowercase function, LWC$, converts a string with any uppercase