# array-access

EXPRESSION`[`EXPRESSION`]` `[`EXPRESSION`]` ...
This form causes a lookup in an array, returning the value contained in the position specified. The first expression must evaluate to an array. The second expression must evaluate to an int. If this int is equal to or greater than the size of the array a runtime error will occur. The indexing of the array begins at 0.

ProfessorJ Advanced Language