Set

Description

Calling target.array.Set will change the value at a specified index to another value of your choosing.

Syntax

trg.array.Set index, value

index (input) - The index where you want to make your changes

value (input) - The new value which you want in the array at the given index

Return value

This function does not return a value.

Sample

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

Function Start

trg.array.Add(66)

trg.array.Add(77)

trg.array.Add(11)

trg.array.Set 1, 8

End Function

See also

Platform Objects and Methods

target.array.Remove

target.array.SetArray

target.array