a1200   NEWS   APPS   DOCS   ABOUT
a1200
----
a1200
----
Autodocs
 Libraries:
 utility.library
  AddNamedObject
  AllocNamedObjectA
  AllocateTagItems
  Amiga2Date
  ApplyTagChanges
  AttemptRemNamedObject
  CallHookPkt
  CheckDate
  CloneTagItems
  Date2Amiga
  FilterTagChanges
  FilterTagItems
  FindNamedObject
  FindTagItem
  FreeNamedObject
  FreeTagItems
  GetTagData
  GetUniqueID
  MapTags
  NamedObjectName
  NextTagItem
  PackBoolTags
  PackStructureTags
  RefreshTagItemClones
  ReleaseNamedObject
  RemNamedObject
  SDivMod32
  SMult32
  SMult64
  Stricmp
  Strnicmp
  TagInArray
  ToLower
  ToUpper
  UDivMod32
  UMult32
  UMult64
  UnpackStructureTags
Include
GuruMeditation
Docs » Autodocs » utility.library » TagInArray

NAME

	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.

INPUTS

	tagValue - tag value to search array for in array.
tagArray - a simple array of tag values terminated by TAG_DONE.

RESULT

	result - TRUE if tagValue was found in tagArray.

SEE ALSO

<utility/tagitem.h>, FilterTagItems()

Comments

Name:
E-mail: Use this if you want a message if you get a response, will not be shown.
Comment:
Select correct short for:

Fairlight

RZR
PHA
FLT
DC

Comments:

$VER: d0.se 1.14 Copyright © 2011-2024 Tobias Geijersson support at d0 dot se