AIRES library reference: getrealfromglobal.


c
c     Name to use to call from C/C++: getrealfromglobalc
c
c
      function getrealfromglobal(gvname, defval, irc)
c
c     Interpreting a global variable as a real number, and retrieving
c     it.
c
c     Written by: S. J. Sciutto, La Plata 2003.
c
c
c     Arguments:
c     =========
c
c     gvname.......... (input, character*(*)) Global variable name.
c     defval.......... (input, double precision) Default value to
c                      use if the global variable is undefined, or
c                      not convertible to a real number.
c     irc............. (output, integer) Return code. Zero means that
c                      the return value was successfully read in from
c                      the global variable. irc = 1 means that the
c                      global variable is not defined. irc = 3 means
c                      that the string associated with the global
c                      variable cannot be converted to real.
c
c
c<--->


These pages are maintained by
Sergio J. Sciutto
Back to AIRES library index
Back to AIRES home [HOME]