Get

Description

Calling target.array.Get retrieves the value in the array at a specific index. 

Syntax

trg.array.Get(index)

index (input) - The index within the array where you want to retrieve the value.

Return value

Get returns the value at given index,

Sample

'---------- Start ----------

Function Start


trg.array.Add( 66 ) 

trg.array.Add( 77 )

trg.array.Add( 11 )

trg.Message( trg.array.Get(2) )


End Function

See also

Platform Objects and Methods

target.array.First

target.array.getArray

target.array