inlist_return_item_exists_in_list_.htm
Navigation: Templates > Template Language Reference > Built-in Template Procedures >====== INLIST (return item exists in list) ====== | |
INLIST( item, symbol )
INLIST | Returns the instance number of the item in the symbol. |
item | A string constant or symbol containing the name of the item to return. |
symbol | A multi-valued symbol that may contain the item. |
The INLIST procedure returns the instance number of the item in the symbol. If the item is not contained in the symbol, INLIST returns zero (0).
Return Data Type: LONG
Example:
#IF(INLIST('?MyControl',%Control))
!Generate some source
#ENDIF
See Also:
inlist_return_item_exists_in_list_.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1