[Overview][Constants][Types][Procedures and functions][Index] Reference for unit 'utility' (#aros)

TagInArray

Check if a tag value appears in an array of tag values.

Declaration

Source position: utility.pas line 222

function TagInArray(

  TagValue: Tag;

  TagArray: PTag

):LongBool;

Arguments

TagValue

  

Tag value to search array for in array.

TagArray

  

A simple array of tag values terminated by TAG_DONE.

Function result

True if tagValue was found in tagArray.

Description

Determines whether the value tagValue exists in an array of Tags pointed to by tagArray. This array must be contiguous, and must be terminated by TAG_DONE. This is an array of Tags, not an array of TagItems.

See also

FilterTagItems

  

Remove selected items from a tag list.


Documentation generated on: 2017-01-10