impliement more methods to number, hopefully finishing the requirements from within the number object mostly

This commit is contained in:
2024-07-11 03:17:27 +01:00
parent b4a02be086
commit 70f2c47e4f
22 changed files with 970 additions and 197 deletions

View File

@@ -106,7 +106,7 @@ func runForLoop(loop forLoop, stack stack, stacklevel int) (any, ArErr) {
step_, _ := numberToInt64(step)
layer := anymap{}
stacks := append(stack, Map(layer))
for i <= to_ {
for i < to_ {
layer[loop.variable] = Number(i)
resp, err := runVal(loop.body, stacks, stacklevel+1)
if err.EXISTS {