VERY basic functions implementation

This commit is contained in:
SpookyDervish
2025-09-10 07:30:58 +10:00
parent e137cb88ae
commit 59bef834c4
9 changed files with 162 additions and 177 deletions

View File

@@ -1,7 +1,10 @@
set &counter 0
set &cond 1
@loop
add $counter 1 &counter
greater 100000000 $counter &cond
if $cond %loop
end 0
fun -string !test
stdout "this was called by a function!!!!\n"
return
endfun
call !test
set &x 2
set &y 3
add $x $y &x
end $x