Loops/Continue: Difference between revisions
Content added Content deleted
m (→{{header|Sidef}}: minor code improvement) |
(Lingo added) |
||
Line 877: | Line 877: | ||
end |
end |
||
</lang> |
</lang> |
||
=={{header|Lingo}}== |
|||
<lang lingo>on foo |
|||
str = "" |
|||
repeat with i = 1 to 10 |
|||
put i after str |
|||
if i mod 5 = 0 then |
|||
put RETURn after str |
|||
next repeat |
|||
end if |
|||
put ", " after str |
|||
end repeat |
|||
put str |
|||
end</lang> |
|||
<lang lingo>foo()</lang> |
|||
=={{header|Lisaac}}== |
=={{header|Lisaac}}== |