diff --git a/src/main.go b/src/main.go index e960600..0a79f53 100644 --- a/src/main.go +++ b/src/main.go @@ -10,8 +10,8 @@ var Args = os.Args[1:] type stack = []ArObject -const VERSION = "3.0.4-3" -const VERSION_NUM = 2 +const VERSION = "3.0.5" +const VERSION_NUM = 3 func newscope() ArObject { return Map(anymap{}) diff --git a/src/operations.go b/src/operations.go index 8a37437..6c0ce9b 100644 --- a/src/operations.go +++ b/src/operations.go @@ -82,7 +82,7 @@ func parseOperations(code UNPARSEcode, index int, codelines []UNPARSEcode) (oper operation: i, values: values, line: code.line, - code: code.code, + code: code.realcode, path: code.path, }, true, ArErr{}, totalStep } @@ -680,7 +680,7 @@ func equals(a any, b any, o operationType, stack stack, stacklevel int) (bool, A } } if x, ok := b.(ArObject); ok { - if y, ok := x.obj["__GreaterThanEqual__"]; ok { + if y, ok := x.obj["__Equal__"]; ok { val, err := runCall( call{ y,