remy / vscode-nextbasic

VS Code tools for NextBASIC
https://marketplace.visualstudio.com/items?itemName=remysharp.nextbasic
9 stars 2 forks source link

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

Closed NealeTools closed 3 months ago

NealeTools commented 5 months ago

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.