AIRES library reference: versionstr2int.


c
c     Routine directly callable from C/C++ (it could be necessary to
c     append an underscore, "_", to its name depending on the C/C++
c     compiler used).
c
c
      subroutine versionstr2int(strversion, intversion, develvsn)
c
c     Converting a given AIRES version from string to integer format.
c
c     Version strings must be formatted as follows:
c
c              nn.mm.ll[x][+]
c
c     where nn, mm and ll are integers and [x] is an optional letter.
c     A plus (+) sign as last character is used for "development
c     versions".
c
c     Written by: S. J. Sciutto, La Plata 1996, 1997, 1998, 2019.
c
c
c     Arguments:
c     =========
c
c     strversion...... (input, character*(*)) The version to convert.
c     intversion...... (output, integer) The input version in integer
c                      format. A negative value indicates an invalid
c                      version input string.
c     develvsn........ (output, integer) 0 for a normal version,
c                      1 for a development version ending in "+".
c
c
c<--->


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