Fixes to for loops. Added elseif and else

This commit is contained in:
Jonathan Turner
2009-07-01 17:13:52 +00:00
parent 27f6ec7b70
commit 042df442a1
4 changed files with 39 additions and 9 deletions

View File

@@ -1,5 +1,5 @@
var add2 = function(x, y) { x + y }
var add1 = function(x, f) { f(3,x) }
var add2 = fun(x, y) { x + y }
var add1 = fun(x, f) { f(3,x) }
print(add2(3, 4))
print(add1(2, add2))