Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,10 @@
|
|||
x = 42
|
||||
if x < 10 then
|
||||
print "small"
|
||||
else if x < 20 then
|
||||
print "small-ish"
|
||||
else if x > 100 then
|
||||
print "large"
|
||||
else
|
||||
print "just right"
|
||||
end if
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
x = 42
|
||||
if x < 50 then print "small" else print "big"
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
isSmall = function(x)
|
||||
print "checking smallness"
|
||||
return x < 40
|
||||
end function
|
||||
|
||||
isBig = function(x)
|
||||
print "checking bigness"
|
||||
return x > 60
|
||||
end function
|
||||
|
||||
isSmall(10) or isBig(100)
|
||||
Loading…
Add table
Add a link
Reference in a new issue