[Contents] [Index] [Help] [Retrace] [Browse <] [Browse >]


NAME
    TagInArray  -- Check if a Tag value appears in a Tag array. (V36)

SYNOPSIS
    BOOL TagInArray( tag, tagArray )
    D0               D0   A0

    BOOL TagInArray( Tag tag, Tag *tagArray);

FUNCTION
    Perform a quick scan to see if a tag value appears in
    an array terminated with TAG_END.  Returns TRUE if
    the value is found.

    The 'tagArray' must be terminated by TAG_END.  It should
    NOT contain other system tag values, such as TAG_MORE
    or TAG_IGNORE.  Note that this is an array of Tag values, NOT
    an array of TagItems.

    This is sort of a "one shot" version of FilterTagItems().

INPUTS
    tag             - Tag value to search array for.
    tagArray        - a simple array terminated by TAG_END.

RESULT
    Boolean success of search.

BUGS

SEE ALSO
    FilterTagItems()


[Back to Amiga Developer Docs]