AIRES library reference: getintfromglobal.


c
c     Name to use to call from C/C++: getintfromglobalc
c
c
      function getintfromglobal(gvname, defval, irc)
c
c     Interpreting a global variable as an integer number, and
c     retrieving 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, integer) Default value to use if the
c                      global variable is undefined, or not convertible
c                      to an integer 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 integer.
c
c
c<--->


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