User Tools

Site Tools


en:arrays

This is an old revision of the document!


Arrays

Arrays are allocated using the DIM command or re-sized using Redim. They may hold numeric or string data. Access to specific elements in an array is accomplished by using square brackets along with the integer offset of the element, starting from zero. Arrays may also be dimensioned and accessed using two dimensions.
Array sizes may also be extracted using [?] [?,] and [,?] on the end of the array variable.

Example

print myarray[4]

will display on the screen the fifth element in 'myarray'

en/arrays.1451713232.txt.gz · Last modified: 2020/02/28 10:46 (external edit)