remy/vscode-nextbasic

Parsing/encoding bug: SPRITE CONTINUE %n+1,%n<8*128 TO %n<8*128+127 STEP 1 RUN

NealeTools opened this issue · 0 comments

Newly found bug here in v1.11.7 (may have existed before too):

Repro:
100 SPRITE CONTINUE %n+1,%n<8128 TO %n<8128+127 STEP 1 RUN

Result:
Nonsense in BASIC.

Comments:
Editing same line in ZXOS and syntax passes.
Using integer "STEP %1" rather than "STEP 1" passes in VSCode.