Loops/Continue: Difference between revisions
m
Fixed placement
Drkameleon (talk | contribs) (Added Arturo implementation) |
Drkameleon (talk | contribs) m (Fixed placement) |
||
Line 208:
end for_i
end.</lang>
=={{header|Arturo}}==▼
<lang rebol>loop 1..10 'i [▼
prints i▼
if 0 = i%5 [▼
print ""▼
continue▼
]▼
prints ", "▼
]</lang>▼
{{out}}▼
<pre>1, 2, 3, 4, 5▼
6, 7, 8, 9, 10</pre>▼
=={{header|AutoHotkey}}==
Line 236 ⟶ 252:
40 PRINT ", ";
50 NEXT</lang>
▲=={{header|Arturo}}==
▲<lang rebol>loop 1..10 'i [
▲ prints i
▲ if 0 = i%5 [
▲ print ""
▲ continue
▲ ]
▲ prints ", "
▲]</lang>
▲{{out}}
▲<pre>1, 2, 3, 4, 5
▲6, 7, 8, 9, 10</pre>
==={{header|BBC BASIC}}===
|