ObjectFromIndex - cCollection
Returns the object-handle at index, iIndex, in the collection
Type: Function
Return Data Type: Handle
Parameters
| Parameter | Type | Description |
|---|---|---|
| iIndex | Integer | The object-handle at index |
Syntax
Function ObjectFromIndex Integer iIndex Returns Handle
Call Example
Get ObjectFromIndex iIndex to HandleVariable
Description
ObjectFromIndex returns the object-handle at index, iIndex, in the collection.
Use CountOfObjects to determine the number of object-handles in the collection.
Return Value
If iIndex is beyond the bounds of the collection, the function returns 0.