start working on opperations

This commit is contained in:
2023-03-07 18:27:06 +00:00
parent 1b3a4c44d9
commit dfb93c60b4
11 changed files with 185 additions and 21 deletions

View File

@@ -116,7 +116,7 @@ func setVariableValue(v setVariable, stack stack) (any, ArErr) {
for i := len(stack) - 1; i >= 0; i-- {
if _, ok := stack[i][v.name]; ok {
stack[i][v.name] = resp
return stack, ArErr{}
return resp, ArErr{}
}
}
stack[len(stack)-1][v.name] = resp