NCEPLIBS-w3emc 2.12.0
Loading...
Searching...
No Matches
fparser.f File Reference

Extracts real numbers from a free-format character string. More...

Go to the source code of this file.

Functions/Subroutines

subroutine fparser (carg, marg, rarg)
 This subprogram extracts real numbers from a free-format character string.
 

Detailed Description

Extracts real numbers from a free-format character string.

Author
Mark Iredell
Date
1998-09-03

Definition in file fparser.f.

Function/Subroutine Documentation

◆ fparser()

subroutine fparser ( character*(*)  carg,
  marg,
real, dimension(marg)  rarg 
)

This subprogram extracts real numbers from a free-format character string.

It is useful for parsing command arguments.

Program history log:

  • 1998-09-03 Mark Iredell
Parameters
[in]CARGcharacter*(*) string of ascii digits to parse. Real numbers may be separated by a comma or by blanks.
[in]MARGinteger maximum number of real numbers to parse.
[out]RARGreal (MARG) numbers parsed. (from 0 to MARG values may be returned.)
Note
To determine the actual number of real numbers found in the string, RARG should be set to fill values before the call to FPARSER() and the number of non-fill values should be counted after the call.
Author
Mark Iredell
Date
1998-09-03

Definition at line 24 of file fparser.f.