User Tools

Site Tools


en:arrays

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
en:arrays [2020/04/21 18:27]
admin [History]
en:arrays [2020/04/21 18:29] (current)
admin
Line 2: Line 2:
 Arrays are allocated using the [[DIM|DIM]] command or re-sized using [[REDIM|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.\\ Arrays are allocated using the [[DIM|DIM]] command or re-sized using [[REDIM|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.\\
 [[arraylength|Array lengths]] may also be extracted using [?] [?,] and [,?] on the end of the array variable. [[arraylength|Array lengths]] may also be extracted using [?] [?,] and [,?] on the end of the array variable.
 +
 +By default arrays may be indexed using an integer in the range of 0 to array_length-1.  You may optionally change the numeric array index to a range of 1 to array_length by using the [[arraybase|ArrayBase]] statement.
  
 ==== Assigning values to an array ==== ==== Assigning values to an array ====
en/arrays.1587515230.txt.gz ยท Last modified: 2020/04/21 18:27 by admin