Arbortext Command Language > Functions by Alphabetical Listing > lookup_types
  
lookup_types
lookup_types (index)
This function returns a bit mask indicating the possible word types for the definition index of the word specified in the previous call to the lookup function. If there was no previous call or the word was not found, then 0 is returned. Possible flags are:
0x01 - Synonym
0x02 - Compared
0x04 - Related
0x08 - Contrast
0x10 - Antonym
index is the numeric index for the definition returned in the previous call to the lookup function.