Call functions

This commit is contained in:
2025-12-06 14:35:13 +11:00
parent 9553934db5
commit 166a547a74
5 changed files with 74 additions and 11 deletions

19
tests/fib.grnd Normal file
View File

@@ -0,0 +1,19 @@
set &a 0
set &b 1
set &n 92
set &i 0
@loop
equal $i $n &done
if $done %end
add $a $b &temp
set &a $b
set &b $temp
add $i 1 &i
jump %loop
@end
println "Fibonacci result:" $a
end