integer fdds_member(bin_tag, field_tag, field_name)
NOTE: for the fdds_member, if the field_name is "Horz..." and the member cannot be found, the "Horz" will be replaced with "TVPT" and tried again so that "Horz01" thru "Horz20" can be overloaded and used in the fdds_getff and fdds_putff calls.
field_tag is the tag associated with a particular field known by bin_tag. A value of "0" always refers to the entire trace field.
field_name is a string that names a member or object field within field_tag. If field_name is zero length or blank, the returned tag defaults to the first member or object in the structure, field_tag.
NOTE: for cases where "Horz..." was used in fdds_member, then the return value is the negative ( < -1) of the associated field so that fdds_getr will divert the call to fdds_getff with the absolute value of the tag.
integer bin
integer tag,ptag
integer ndx,rec,ibuf(*)
...
! find index of header RecNum
tag=fdds_member(bin, 0, 'RecNum')
ndx=1+fdds_index(bin, tag, DDS_INTEGER)
rec=ibuf(ndx)
...
! find all trace header tags
tag=fdds_member(bin, 0, ' ')
do while (tag.ge.0)
ptag=fdds_prime(bin, tag)
...
tag=fdds_next(bin, tag)
enddo
fdds_object Fetch object tag
fdds_next Fetch next field tag
fdds_prev Fetch previous field tag
fdds_parent Fetch parent field tag
fdds_prime Fetch field prime tag