NCEPLIBS-bufr  12.0.1
invtag.f File Reference

Search for a specified mnemonic within a specified portion of the current data subset. More...

Go to the source code of this file.

Functions/Subroutines

function invtag (NODE, LUN, INV1, INV2)
 This function looks for a specified mnemonic within the portion of the current subset buffer bounded by the indices inv1 and inv2. More...
 

Detailed Description

Search for a specified mnemonic within a specified portion of the current data subset.

Author
Woollen
Date
1994-01-06

Definition in file invtag.f.

Function/Subroutine Documentation

◆ invtag()

function invtag (   NODE,
  LUN,
  INV1,
  INV2 
)

This function looks for a specified mnemonic within the portion of the current subset buffer bounded by the indices inv1 and inv2.

It is similar to library function invwin(), except that invwin() searches based on the actual node within the internal jump/link table, rather than on the mnemonic corresponding to that node.

Parameters
[in]NODE- integer: jump/link table index of mnemonic to look for
[in]LUN- integer: file ID
[in]INV1- integer: starting index of the portion of the subset buffer in which to look
[in]INV2- integer: ending index of the portion of the subset buffer in which to look
Returns
- integer: location index of node within specified portion of subset buffer
  • 0 not found
Author
Woollen
Date
1994-01-06

Definition at line 23 of file invtag.f.

References errwrt(), moda_usrint::inv, and moda_tables::tag.

Referenced by ufbrp(), ufbseq(), and ufbsp().