---- session

────────────────────────────────────────
 SHEERPOWER V011.032.14  │  KEYS · HELP
────────────────────────────────────────
 File   📁 c:\users\misterdan\browser-agent\examples\regression\r_nae_cmds.txt
 Saved  ⭐ 0 Starred   🕘 0 History   🔤 40 Abbreviations
Skill levels
  1 - Beginner  new to programming
  2 - Newcomer  new to Sheerpower, not to programming
  3 - Regular   writes Sheerpower often
  4 - Fluent    tables, web handlers and arrays every day
  5 - Expert    knows the language well
skill n  chooses yours (1 to 5) and remembers it
>>> run 'c:\users\misterdan\browser-agent\examples\regression\r_nae_broken.spsrc'
    | ?? Syntax error
    |    --> line 1, col 12
    |
  1 | dim grid(2 3), other(4)
    |            ^
    |    Help>>   DIM name() expects a closing ')'

    | also: other undeclared at line 2 -- follows the error at line 1

    | ?? Unrecognized statement
    |    --> line 3, col 1
    |
  3 | prnt 'hello'
    | ^
    |    Help>>   'prnt' is not a statement -- did you mean  print?

    | ?? Unrecognized keyword
    |    --> line 4, col 8
    |
  4 | select cse x
    |        ^
    |    Format>> select case expr
    |
    |    Fix>>    SELECT must be followed by CASE

3 errors, first at line 1, plus 1 that follows from them -- correct them to RUN

>>> new
>>> print 'after new'
after new
>>> run
C:\Users\MisterDan\browser-agent\Examples\regression\MyProgram.spsrc
>>> print 'made it'
made it
>>> 

>>> 

ok   a program with pass-1 errors: the print after NEW runs
ok   a program with pass-1 errors: a bare RUN after NEW, then a print
ok   a program with pass-1 errors: no line is refused after NEW
---- session

────────────────────────────────────────
 SHEERPOWER V011.032.14  │  KEYS · HELP
────────────────────────────────────────
 File   📁 c:\users\misterdan\browser-agent\examples\regression\r_nae_cmds.txt
 Saved  ⭐ 0 Starred   🕘 0 History   🔤 40 Abbreviations
Skill levels
  1 - Beginner  new to programming
  2 - Newcomer  new to Sheerpower, not to programming
  3 - Regular   writes Sheerpower often
  4 - Fluent    tables, web handlers and arrays every day
  5 - Expert    knows the language well
skill n  chooses yours (1 to 5) and remembers it
>>> run 'c:\users\misterdan\browser-agent\examples\regression\r_nae_report.spsrc'
    | ?? Unrecognized statement
    |    --> line 3, col 3
    |
  3 |   prnt 'big'
    |   ^
    |    Help>>   'prnt' is not a statement -- did you mean  print?

1 error, first at line 3 -- correct them to RUN

>>> new
>>> print 'after new'
after new
>>> 

>>> 

ok   an IF without END IF behind the error: the print after NEW runs
ok   an IF without END IF behind the error: NEW does not report it
---- session

────────────────────────────────────────
 SHEERPOWER V011.032.14  │  KEYS · HELP
────────────────────────────────────────
 File   📁 c:\users\misterdan\browser-agent\examples\regression\r_nae_cmds.txt
 Saved  ⭐ 0 Starred   🕘 0 History   🔤 40 Abbreviations
Skill levels
  1 - Beginner  new to programming
  2 - Newcomer  new to Sheerpower, not to programming
  3 - Regular   writes Sheerpower often
  4 - Fluent    tables, web handlers and arrays every day
  5 - Expert    knows the language well
skill n  chooses yours (1 to 5) and remembers it
>>> []
Enter source code.  <esc> when done.
[] print 'kept'
[] <ESC>

>>> new
?? Program edited, but not saved or replaced, or type NEW to continue
>>> run
c:\users\misterdan\browser-agent\examples\regression\MyProgram.spsrc
kept
>>> new
>>> run
C:\Users\MisterDan\browser-agent\Examples\regression\MyProgram.spsrc
>>> print 'made it'
made it
>>> 

>>> 

ok   an edited program: the first NEW says how to go on
ok   an edited program: the first NEW does not reset it, the second does (kept printed by one run of two)
ok   an edited program: after the second NEW the workspace is MyProgram.spsrc again
ok   an edited program: the console goes on
r_new_after_errors: all checks passed
