THE ADD FUNCTION COMPILES!!!!!
This commit is contained in:
11
test2.grnd
11
test2.grnd
@@ -1,8 +1,9 @@
|
||||
fun -int !test -int &arg1
|
||||
stdout "this was called by a function!!!!\n"
|
||||
return $arg1
|
||||
fun -int !add -int &x -int &y
|
||||
add $x $y &x
|
||||
return $x
|
||||
endfun
|
||||
|
||||
pusharg 115
|
||||
call !test &var
|
||||
pusharg 2
|
||||
pusharg 3
|
||||
call !add &var
|
||||
end $var
|
Reference in New Issue
Block a user