RMNLIB |
(FSTOPC) |
FSTD |
INTEGER FUNCTION FSTOPC( option, value, getmode)
DESCRIPTION
For control variables: MSGLVL, TOLRNC
If getmode = 1, then it will obtain(get) and print out the existing value
of a global variable specified in "option". If getmode = 0, then it will
set a global variable specified in "option" as given in the "value".
Authors: M. Lepine - M. Valin - 2000
ARGUMENTS
Input: | |
FSTOPC | 0 if no error, else error code |
option | the global variable which controls all fstd or xdf
functions. There are two controls: 'MSGLVL': message level (how informative) 'TOLRNC': error tolerance level (before program crashes) |
value | the value to give for "option" if getmode=0. There
are 7 values available and here are their functions related to each
option:
|
getmode | 1: to obtain existing value of "option" and print a
message to standard out 0: to set the "value" into the "option" |
EXAMPLE (in Fortran)