Created
December 29, 2017 17:23
-
-
Save lepinekong/d5cf963ec815b1c093cc01fa61952268 to your computer and use it in GitHub Desktop.
Rebol equivalent
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>> foreach i range 5 10 [print i] | |
5 | |
6 | |
7 | |
8 | |
9 | |
10 | |
>> foreach i range/step 10 5 2 [print i] | |
10 | |
8 | |
6 | |
>> foreach i range/step 10 5 -2 [print i] | |
9 | |
7 | |
5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment