RMNLIB |
(FSTOPI) |
FSTD |
INTEGER FUNCTION FSTOPI( option, ivalue, getmode)
DESCRIPTION
For control variables: MSGLVL, TOLRNC
If getmode = 1, then it will obtain(get) and print out the existing
integer "ivalue" of a global variable specified in "option". If getmode =
0, then it will set a global variable specified in "option" to the given
"ivalue".
Authors: M. Lepine - M. Valin - 2000
ARGUMENTS
Input: | |
FSTOPI | 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) |
ivalue | the value to give for "option" if getmode=0. There
are 7 integer 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 "option" to the given "ivalue" |
EXAMPLE (in Fortran)