-create an array:
DIM arrayname[size]
-example:
DIM EXAMPLE[7]
-access an array element:
arrayname[index]
-example:
EXAMPLE[3]=12
PRINT EXAMPLE[3]
(arrays start counting at 0, and the maximum value is 1 less than the size)
12Me21 told how to make arrays, so I'll explain them.
Arrays are special variables that can hold more than one value. There are 3 types of arrays that can each hold things in up to four dimensions. (you'll mostly use the first 2)
The integer array holds numbers but can't store decimals, the real array holds numbers that can have decimals, and the string array that can hold text.
We can treat a string variable itself as an array as follows.
S$="ONE" ... S$[0]=="O", S$[1]=="N", S$[2]=="E"
Multiple dimension arrays are also available as follows.
DIM S$[3]:S$[0]="ZERO":S$[1]="ONE":S$[2]="TWO"
... S$[1][0]=="O", S$[1][1]=="N", S$[2][1]=="W" ...
Could you confirm them yourself?