Last active
December 18, 2018 03:15
-
-
Save paniq/3599fcdfc32bf1fd97502816706e30bb 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
# experimenting with making a section conditional without using indentation | |
fn test1 () | |
print "hello" | |
print "world" | |
print "what's up" | |
print "?" | |
fn test2 () | |
print "hello" | |
if true | |
print "world" | |
print "what's up" | |
print "?" | |
fn test3 () | |
print "hello" | |
(if true | |
\ do | |
print "world" | |
print "what's up" | |
) | |
print "?" | |
fn test4 () | |
print "hello" | |
(do | |
\ if true | |
print "world" | |
print "what's up" | |
) | |
print "?" | |
test1; | |
test2; | |
test3; | |
test4; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment