LEN(3F) LEN(3F)
len - return length of Fortran string
character*N ch
integer i
i = len(ch)
len returns the length of string ch.
Page 1
LEN(3I) Last changed: 1-6-98
LEN - Determines the length of a character string
LEN ([STRING=]string)
UNICOS, UNICOS/mk, and IRIX systems
Fortran 90
The LEN intrinsic function takes Fortran character string arguments
and returns an integer length. This function accepts the following
argument:
string Must be of type character. It can be scalar or array
valued.
LEN is an inquiry function. The name of this intrinsic can be passed
as an argument.
The result type, type parameter, and shape are default integer scalar.
The result has a value equal to the number of characters in string if
it is a scalar or in an element of string if it is array valued.
The following program returns the length of the character string I=37:
PROGRAM LENTEST
I=LEN('|...+....1....+....2....+....3....+..')
PRINT *,I
STOP
END
Intrinsic Procedures Reference Manual, publication SR-2138, for the
printed version of this man page.
LEN(3I) Last changed: 1-6-98
LEN - Determines the length of a character string
LEN ([STRING=]string)
UNICOS, UNICOS/mk, and IRIX systems
Fortran 90
The LEN intrinsic function takes Fortran character string arguments
and returns an integer length. This function accepts the following
argument:
string Must be of type character. It can be scalar or array
valued.
LEN is an inquiry function. The name of this intrinsic can be passed
as an argument.
The result type, type parameter, and shape are default integer scalar.
The result has a value equal to the number of characters in string if
it is a scalar or in an element of string if it is array valued.
The following program returns the length of the character string I=37:
PROGRAM LENTEST
I=LEN('|...+....1....+....2....+....3....+..')
PRINT *,I
STOP
END
Intrinsic Procedures Reference Manual, publication SR-2138, for the
printed version of this man page.
[ Back ]
|