FutureProg functions
getindex
getindex overload 1
CollectionItem getindex(Void Collection collection, Number index)
Available in
- computer function
- computer program
- standard futureprog
This function returns the element at the specified index of a collection, or null if an incorrect index is specified. The return type depends on the return type of the collection. You may need to convert the result. See CONVERT function.
| Parameter | Type | Description |
|---|---|---|
collection |
Void Collection |
A collection of anything |
index |
Number |
The zero-based index of the element you want to retrieve from the collection |