Anonymous user
Creating an Array: Difference between revisions
QB: Add OPTION BASE 0
(→[[C]]: Removed syntax highlighting) |
(QB: Add OPTION BASE 0) |
||
Line 40:
'''Interpeter:''' [[QuickBasic]] 4.5, PB 7.1
REM Force index to start at 1..n
' $DYNAMIC▼
OPTION BASE 1
REM Force index to start at 0..n
OPTION BASE 0
REM Specify that the array is dynamic and not static
DIM SHARED myArray(-10 TO 10, 10 TO 30) AS STRING
REDIM SHARED myArray(20, 20) AS STRING
|