ST_RLST
The ST_RLST routine breaks a string containing a list of
reals into an array of real values. The separator for
the reals is input as SEP. If the separator is a blank,
multiple blanks will be changed to single blanks before
the string is processed. If null strings are encountered
or fewer than NEXP strings are found in the string, the
appropriate RARR locations are set to RDEF.
USAGE: CALL ST_RLST ( STRING, SEP, RDEF, NEXP, RARR, NUM, IRET )
Input parameters:
STRING CHAR* String
SEP CHAR*1 Separator
RDEF REAL Default value
NEXP INTEGER Number of expected values
Output parameters:
RARR (NUM) REAL Array of real values
NUM INTEGER Number of values returned
IRET INTEGER Return code
1 = too many values
0 = normal return
-3 = invalid substring
GEMLIB.tar |
Library contains routines
utilities for GEMPAK. (Fortran90)
Date posted: 2/27/2007 |