Created
February 1, 2011 21:59
-
-
Save nasser/806787 to your computer and use it in GitHub Desktop.
zajal top level local ambiguity
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
k = 0 | |
def add_and_double k, m | |
k += m | |
return k * 2 | |
end | |
draw do | |
text add_and_double(5, 7) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment