Loop over multiple arrays simultaneously: Difference between revisions
Loop over multiple arrays simultaneously (view source)
Revision as of 01:31, 28 February 2023
, 1 year agoBaCon, BASIC256, and BBC BASIC moved to the BASIC section.
m (Update lang example: Improve control flow statements) |
m (BaCon, BASIC256, and BBC BASIC moved to the BASIC section.) |
||
Line 700:
short lists.
=={{header|
<syntaxhighlight lang="freebasic">
DECLARE a1$[] = {"a", "b", "c"} TYPE STRING
Line 714:
</syntaxhighlight>
▲=={{header|BASIC256}}==
{{trans|FreeBASIC}}
<syntaxhighlight lang="basic256">dim arr1$(3) : arr1$ = {"a", "b", "c"}
Line 732 ⟶ 731:
</pre>
==={{header|BBC BASIC}}===
▲=={{header|BBC BASIC}}==
<syntaxhighlight lang="bbcbasic"> DIM array1$(2), array2$(2), array3%(2)
array1$() = "a", "b", "c"
|