Data update
This commit is contained in:
parent
4d5544505c
commit
4924dd0264
3073 changed files with 55820 additions and 4408 deletions
8
Task/Loops-Continue/Pluto/loops-continue.pluto
Normal file
8
Task/Loops-Continue/Pluto/loops-continue.pluto
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
for i = 1, 10 do
|
||||
io.write(i)
|
||||
if i % 5 == 0 then
|
||||
print()
|
||||
continue
|
||||
end
|
||||
io.write(", ")
|
||||
end
|
||||
|
|
@ -3,7 +3,7 @@ REBOL [
|
|||
URL: http://rosettacode.org/wiki/Loop/Continue
|
||||
]
|
||||
|
||||
; REBOL does not provide a 'continue' word for loop constructs,
|
||||
; REBOL2 does not provide a 'continue' word for loop constructs,
|
||||
; however, you may not even miss it:
|
||||
|
||||
print "One liner (compare to ALGOL 68 solution):"
|
||||
8
Task/Loops-Continue/REBOL/loops-continue-2.rebol
Normal file
8
Task/Loops-Continue/REBOL/loops-continue-2.rebol
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
repeat i 10 [
|
||||
prin i
|
||||
if zero? i % 5 [
|
||||
prin newline
|
||||
continue
|
||||
]
|
||||
prin ", "
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue