ok damn it nearly works
This commit is contained in:
19
test2.grnd
19
test2.grnd
@@ -1,9 +1,14 @@
|
||||
fun -int !add -int &x -int &y
|
||||
add $x $y &x
|
||||
return $x
|
||||
fun -string !idk
|
||||
set &var "test of returning strings INSIDE a variable!\n"
|
||||
return $var
|
||||
endfun
|
||||
|
||||
pusharg 2
|
||||
pusharg 3
|
||||
call !add &var
|
||||
end $var
|
||||
fun -int !function2
|
||||
set &intvar 123
|
||||
return $intvar
|
||||
endfun
|
||||
|
||||
call !idk &var
|
||||
stdout $var
|
||||
call !function2 &lol
|
||||
end $lol
|
Reference in New Issue
Block a user