Name

hastag — tests if an object has a specific tag

Calling Sequence

   BOOL = hastag(OBJ_HANDLE,STR)
   

Description

Tests if the object corresponding to OBJ_HANDLE has the tag STR. When OBJ_HANDLE is an array of handles HASTAG returns a logical array of the same size.

Rem: In order for this to work properly, the object's tag field must be a string containing keywords (or tags) separated by commas.

See also

addtag, findtag, rmtag

Authors

H. Nahrstaedt - Aug 2010
G.Rilling 12/2006
gabriel.rilling@ens-lyon.fr