Loops/Continue: Difference between revisions
Content added Content deleted
(→{{header|BASIC}}: Add QB64) |
Drkameleon (talk | contribs) (Added Arturo implementation) |
||
Line 236: | Line 236: | ||
40 PRINT ", "; |
40 PRINT ", "; |
||
50 NEXT</lang> |
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}}=== |
==={{header|BBC BASIC}}=== |