functions basically work now, but they're extremely inneficient

This commit is contained in:
SpookyDervish
2025-09-13 06:26:15 +10:00
parent 865a31827a
commit 170272353c
6 changed files with 74 additions and 66 deletions

View File

@@ -1,14 +1,9 @@
fun -string !idk
set &var "test of returning strings INSIDE a variable!\n"
return $var
fun -int !add -int &a -int &b
add $a $b &a
return $a
endfun
fun -int !function2
set &intvar 123
return $intvar
endfun
call !idk &var
stdout $var
call !function2 &lol
end $lol
pusharg 1
pusharg 4
call !add &result
end $result