Loop over multiple arrays simultaneously: Difference between revisions

m
BaCon, 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|BaConBASIC}}==
==={{header|BASIC256BaCon}}===
 
<syntaxhighlight lang="freebasic">
DECLARE a1$[] = {"a", "b", "c"} TYPE STRING
Line 714:
</syntaxhighlight>
 
==={{header|BBC BASICBASIC256}}===
=={{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"
511

edits