value.GetAt
Description
Description
Returns an array's element by an index if the variable is an array. This is only applicable if the contained variable is a one dimensional array.
Syntax
Syntax
Function GetAt(index)
Parameters
Parameters
index (input) - the index of the desired element
Return value
Return value
the element of the array at the index position
Example
Sample code
Dim val
UserVar.value = Array( "string1", "string2", "string3" )
val = UserVal.GetAt( 2 ) ' return value: string3
See also