Docs » Autodocs » utility.library » FindTagItem
FindTagItem -- scan a tag list for a specific tag. (V36)
tag = FindTagItem(tagValue,tagList); D0 D0 A0 struct TagItem *FindTagItem(Tag,struct TagItem *);
Scans a tag list and returns a pointer to the first item with ti_Tag matching the 'tagValue' parameter.
tagValue - tag value to search for tagList - tag item list to search (may be NULL)
tag - a pointer to the item with ti_Tag matching 'tagValue' or NULL if no match was found.
<utility/tagitem.h>, GetTagData(), PackBoolTags(), NextTagItem()
|