NAME GetTagData -- Obtain data corresponding to Tag. (V36) SYNOPSIS value = GetTagData(tagVal, default, tagList) D0 D0 D1 A0 ULONG GetTagData(Tag TagVal, ULONG Default, struct tagitem *taglist) FUNCTION Searches a tagitem list for a matching tag value, and returns the corresponding ti_Data value for the tagitem found. if none found, will return the value passed it as 'default'. INPUTS tagVal - Tag value to search for. default - value to be returned if tagVal is not found. tagList - the tagitem list to search. RESULT value - The ti_Data value for first matching tagitem, or 'default' if a ti_Tag matching 'Tag' is not found. BUGS SEE ALSO utility/tagitem.h, findtagitem(), packbooltags(), nexttagitem()