Arrays


An array is a systematic arrangement of numbers or strings in rows and columns.

Arrays are often used to process lists of data. A subscripted variable consists of a variable name followed by a positive integer in parentheses.

Name(5), x(a) and b(a+1) are examples of subscripted variables.

All arrays must be Dimensioned before use.


Dim Statement


This version of Basic supports Array Programming also known as matrix algebra. The fundamental idea behind array programming is that operations apply at once to an entire set of values. This allows the programmer to think and operate on whole arrays of data, without having to resort to explicit loops of individual operations.


Array Functions


Array Programming


Object Arrays