NCEPLIBS-w3emc
2.12.0
Toggle main menu visibility
Main Page
Modules
Modules List
Module Members
All
Functions/Subroutines
Data Types
Data Types List
Data Fields
All
Functions/Subroutines
Files
File List
Globals
All
a
b
c
e
f
g
i
l
m
o
p
q
r
s
u
v
w
x
Functions/Subroutines
a
b
c
e
f
g
i
l
m
o
p
q
r
s
u
v
w
x
•
All
Data Structures
Namespaces
Files
Functions
Pages
Loading...
Searching...
No Matches
fparsei.f
Go to the documentation of this file.
1
C> @file
2
C> @brief Extract integers from a free-format character string.
3
C> @author Mark Iredell @date 1998-09-03
4
5
C> This subprogram extracts integers from a free-format
6
C> character string. It is useful for parsing command arguments.
7
C>
8
C> Program history log:
9
C> - 1998-09-03 Mark Iredell
10
C>
11
C> @param[in] CARG character*(*) string of ascii digits to parse.
12
C> Integers may be separated by a comma or by blanks.
13
C> @param[in] MARG integer maximum number of integers to parse.
14
C>
15
C> @param[out] KARG integer (MARG) numbers parsed.
16
C> (from 0 to MARG values may be returned.)
17
C>
18
C> @note To determine the actual number of integers found in the string,
19
C> KARG should be set to fill values before the call to FPARSEI() and
20
C> the number of non-fill values should be counted after the call.
21
C>
22
C> @author Mark Iredell @date 1998-09-03
23
C-----------------------------------------------------------------------
24
SUBROUTINE
fparsei
(CARG,MARG,KARG)
25
CHARACTER*(*)
CARG
26
INTEGER
KARG(MARG)
27
C - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
28
READ
(carg,*,iostat=ios) karg
29
C - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
24
SUBROUTINE
fparsei
(CARG,MARG,KARG)
…
30
END
fparsei
subroutine fparsei(carg, marg, karg)
This subprogram extracts integers from a free-format character string.
Definition
fparsei.f:25
src
fparsei.f
Generated by
1.9.8