Table plus |
---|
applyColStyleToCell | true |
---|
heading | 0 |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
columnAttributes | style="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold, |
---|
enableSorting | false |
---|
|
Syntax | arrayGetElement(array, index) | Package | array | Alias | getElement(array, index) | Pkg Usage | getElement(array, index) |
|
Description
Excerpt |
---|
|
Returns the element at the specified index. |
Returns the element at the specified index.
...
Table plus |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
enableSorting | false |
---|
|
Parameter name | Type | Required | Description |
---|
array | Array | Yes | Array where the element at the specified index is searched. | index | Number | Yes | Index of the element to be returned. |
|
Return Type
Element of the array type.
...
Prints all the elements of the array watchers.
Note |
---|
If index is not number or has negative value the routine returns error. If index is greater than the size of the array, the routine will return an empty value of the respective type.
|
Info |
---|
Starting with version 2.5 we added the indexing operator. It will work on arrays, strings, dates and interval.
You can simply write in your programs watchers[0] to refer to the first element in the watchers array. |
See also
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 25 |
---|
showSpace | false |
---|
cql | label = "array_routine" and space = currentSpace ( ) |
---|
labels | array_routines |
---|
|
We've encountered an issue exporting this macro. Please try exporting this page again later.