Arrays: Difference between revisions
Content added Content deleted
SqrtNegInf (talk | contribs) m (→Some further exposition:: drop superscripts range example, results would surprise if examined) |
(Added Quite BASIC) |
||
Line 1,647: | Line 1,647: | ||
==={{header|Commodore BASIC}}=== |
==={{header|Commodore BASIC}}=== |
||
same as Applesoft BASIC |
same as Applesoft BASIC |
||
==={{header|Quite BASIC}}=== |
|||
<syntaxhighlight lang="basic">10 ARRAY A |
|||
20 DIM B(10) |
|||
30 DIM C(3,2) |
|||
40 LET A[4711] = 17 |
|||
50 LET B(3) = 5 |
|||
60 LET B[7] = 3 |
|||
70 LET C(3,2) = 1 |
|||
80 PRINT C(3,2) + B(7) + B[3] + A(4711)</syntaxhighlight> |
|||
{{out}} |
|||
<pre>26</pre> |
|||
=={{header|BASIC256}}== |
=={{header|BASIC256}}== |