GET arguments
This custom command can allow you to get an element no matter its size, dimensions, or name. Here is the code(it's only 6 lines):DEF GET(ARRAY,OFFSET) DIM TEMP[3] COPY TEMP, 0, ARRAY, OFFSET,1 RETURN TEMP[0] ENDhere is how to use it:
DIM ARRAY[20,20] ARRAY[19,1] = 300 PRINT GET(ARRAY,40)'get 41'st index of ARRAY and PRINT it 300 OK