breakintoprogram/agon-bbc-basic-adl

EVAL crashes to MOS

Closed this issue · 2 comments

EVAL crashes to MOS regardless of input.

Example: PRINT EVAL("10+2")

Need to test any function that stacks strings using PUSHS

  • EVAL (and the BASIC evaluator in general)
  • INSTR
  • MID
  • LEFT
  • RIGHT

Test with ANIMALS.BBC - that is a good stress tester for string functions

Fixed root cause of issue in PUSHS and a resultant bug in EXPR3S (String Concatenation)