Anonymous user
Loops/Continue: Difference between revisions
Added Dyalect programming language
(Add Jsish) |
(Added Dyalect programming language) |
||
Line 615:
Print(', ');
end;</lang>
=={{header|Dyalect}}==
{{trans|Swift}}
<lang Dyalect>for i in 1...10 {
print(i, terminator: "")
if i % 5 == 0 {
print()
continue
}
print(", ", terminator: "")
}</lang>
{{out}}
<pre>1, 2, 3, 4, 5
6, 7, 8, 9, 10</pre>
=={{header|Ela}}==
|