Arrays

Top  Previous  Next

Arrays can be created by using the characters "[" and "]".

 

Arrays are zero based, the index starts with 0. Multi-Index arrays are supported, see examples below.

 

Examples:

NumArray = [2, 4, 6, 8]

= NewArray[1] ' returns i = 4

 

MultiArray = [["green", "red", "blue"], ["apple", "orange", "lemon"]]

= MultiArray[0,2] ' returns s = "blue"

MultiArray[1,1] = "black"




Translate document: