utility.library/TagInArray

Previous:
utility.library/Strnicmp
TOC:
Table of Contents
Index:
All Documents
Next:
utility.library/ToLower

     Title:
TagInArray -- check if a tag value appears in an array of tag values.
      (V36)
     Synopsis:
result = TagInArray(tagValue,tagArray);
D0             D0      A0

BOOL TagInArray(Tag,Tag *);
     Function:
Performs a quick scan to see if a tag value appears in an array
terminated with TAG_DONE. Returns TRUE if the value is found.

The 'tagArray' must be terminated by TAG_DONE. Note that this is an
array of tag values, NOT an array of TagItems.
     Parameters:
tagValue - tag value to search array for in array.
tagArray - a simple array of tag values terminated by TAG_DONE.
     Results:
result - TRUE if tagValue was found in tagArray.
     Related topics:
<utility/tagitem.h>, FilterTagItems()

Browse your own file: