HP Fortran Programmer's Reference (September 2007)

Intrinsic procedures
Intrinsic procedure specifications
Chapter 11 579
equal to the lower bound for subscript DIM of ARRAY if dimension DIM of
ARRAY does not have extent zero or if ARRAY is an assumed-size array of
rank DIM
or
one (1), otherwise.
Case 2 LBOUND(ARRAY) has a value whose
i
th component is equal to
LBOUND(ARRAY,
i
), for
i
= 1, 2, ...,
n
, where
n
is the rank of ARRAY.
Specific forms
KLBOUND.
LEN(STRING)
Description
Returns the length of a character entity.
Class
Inquiry function.
Argument
STRING must be of type character. It may be scalar or array valued.
Result type,
type parameters,
and shape
Default integer scalar.
Result value
The result has a value equal to the number of characters in STRING if it is scalar or in an
element of STRING if it is array valued.
Specific forms
KLEN.