IndexOf returns the index number of an item in a collection
Member of List Collection (PRIM_LCOL)
Data Type - Integer
Name | Type | Data Type | Description |
---|---|---|---|
Object | *Input | PRIM_OBJT | Instance of the object to be searched for |
StartingAt | *Input | Integer | Index in the collection at which to searching |
IndexOf returns the index number of an item in a collection. If the object does not exist in the collection the result will be 0.
Accessing the index of an object in a collection.
#Result := #Collection.IndexOf<#Object>
Accessing the index of an object in a collection using the StartingAt parameter.
#Result := #Collection.IndexOf<#Object #StartingAt>
Febuary 18 V14SP2