Loops/Foreach: Difference between revisions

Content deleted Content added
PureFox (talk | contribs)
Line 273: Line 273:
}</lang>
}</lang>


=={{header|BASIC256}}==
=={{header|BASIC}}==

==={{header|BASIC256}}===
BASIC-256 does not have a FOR EACH type statement. Use a FOR loop to iterate through an array by index.
BASIC-256 does not have a FOR EACH type statement. Use a FOR loop to iterate through an array by index.
<lang BASIC256>DIM collection$(1)
<lang BASIC256>DIM collection$(1)