root/trunk/orca/tests/working/loop.r
| Revision 1, 239 bytes (checked in by krobillard, 3 years ago) |
|---|
| Line | |
|---|---|
| 1 | REBOL[] |
| 2 | |
| 3 | loop 3 [print "hello"] |
| 4 | |
| 5 | a: 5 |
| 6 | print any [4 a > 2] |
| 7 | print any [false a > 2 4] |
| 8 | print all [a > 2 false 4] |
| 9 | print all [true "hi" a > 2] |
| 10 | |
| 11 | |
| 12 | repeat a 4 [print a] |
| 13 | repeat a next [1 #"a" 6 4.4] [print a] |
| 14 | repeat a tail [1 #"a" 6 4.4] [print a] |
Note: See TracBrowser
for help on using the browser.
