Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
15
Task/Loops-Do-while/REBOL/loops-do-while.rebol
Normal file
15
Task/Loops-Do-while/REBOL/loops-do-while.rebol
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
REBOL [
|
||||
Title: "Loop/While"
|
||||
URL: http://rosettacode.org/wiki/Loop/Do_While
|
||||
]
|
||||
|
||||
; REBOL doesn't have a specific 'do/while' construct, but 'until' can
|
||||
; be used to provide the same effect.
|
||||
|
||||
value: 0
|
||||
until [
|
||||
value: value + 1
|
||||
print value
|
||||
|
||||
0 = mod value 6
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue