fdds_count - fetch field count


SYNOPSIS

#include <fdds.h> (fixed-format sources)
#include <f90dds.h> (free-format sources)

integer fdds_count(bin_tag, field_tag)

integer bin_tag
integer field_tag

DESCRIPTION

fdds_count returns prime type element count associated with the field_tag. A value of -1 is returned on any error.

INPUT

bin_tag is a binary tag, previously obtained from fdds_open. It specifies a particular binary stream.

field_tag is the tag of the field for which the information is desired.

EXAMPLE

      integer :: bin, tag, Nsamp
      ...
      ! byte size of RecNum field
      tag = fdds_member(bin, 0, 'Samples')
      Nsamp = fdds_count(bin, tag)
    

SEE ALSO

      fdds_name Fetch field name
      fdds_prec Fetch field precision
      fdds_align Fetch field alignment
      fdds_genus Fetch field genus
    

AUTHOR

Jerry Ehlers, BP America (May 2003)