Last active
May 7, 2017 09:37
-
-
Save WayneCui/b91b1b05f5a0174e640d1d9609276b48 to your computer and use it in GitHub Desktop.
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
Red [] | |
f: function[s][ | |
print 10 * s | |
] | |
f1: function[s][ | |
print 100 * s | |
] | |
p: function[s][ | |
either s > 10 [ | |
return :f | |
][ | |
return :f1 | |
] | |
] | |
do p 100 1 | |
t: p 1 | |
t 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment