AIRES library reference: crofieldindex.


c
c     Name to use to call from C/C++: crofieldindexc
c
c
      function crofieldindex(fileid, rectype, fieldname, vrb, datype,
     +                       irc)
c
c     Returning the index corresponding to a given field within a
c     compressed file record.
c
c     Written by: S. J. Sciutto, La Plata 1997, 2003, 2010.
c
c
c     Arguments:
c     =========
c
c     fileid.......... (input, integer) Compressed file number. This
c                      parameter identifies the file to be used for
c                      reading, and is set by the file opening
c                      routine.
c     rectype......... (input, integer) Record type (0 for default
c                      record type).
c     fieldname....... (input, character*(*)) First characters of
c                      field name (enough characters must be provided
c                      to make an unambiguous specification).
c     vrb............. (input, integer) Verbosity control. If vrb is
c                      zero or negative then no error/informative
c                      messages are printed; error conditions are
c                      communicated to the calling program via the
c                      return code. If vrb is positive error messages
c                      will be printed: vrb = 1 means that messages
c                      will be printed even with successful operations.
c                      vrb = 2,3 means that only error messages will
c                      be printed. vrb > 3 is similar to vrb = 3, but
c                      with the additional action of stopping the
c                      program if a fatal error takes place.
c     datype.......... (output, integer) The data type that corresponds
c                      to the specified field: 1 for integer data,
c                      2 for date-time data, 3 for real data, and
c                      4 for dynamically added real data fields.
c     irc............. (output, integer) Return code. 0 means
c                      successful return.
c
c     Return value: (integer) The field index. Zero if there was an
c     ============  error.
c
c
c<--->


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