mirror of
https://github.com/Open-Argon/argon-v3.git
synced 2025-12-06 08:56:07 +00:00
impliement more methods to number, hopefully finishing the requirements from within the number object mostly
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user