Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
16
Task/Loops-Break/REBOL/loops-break.rebol
Normal file
16
Task/Loops-Break/REBOL/loops-break.rebol
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
REBOL [
|
||||
Title: "Loop/Break"
|
||||
URL: http://rosettacode.org/wiki/Loop/Break
|
||||
]
|
||||
|
||||
random/seed 1 ; Make repeatable.
|
||||
; random/seed now ; Uncomment for 'true' randomness.
|
||||
|
||||
r20: does [(random 20) - 1]
|
||||
|
||||
forever [
|
||||
prin x: r20
|
||||
if 10 = x [break]
|
||||
print rejoin [" " r20]
|
||||
]
|
||||
print ""
|
||||
Loading…
Add table
Add a link
Reference in a new issue