remy / vscode-nextbasic

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

OPEN # doesn't tokenize right #5

Closed jsanjose closed 4 years ago

jsanjose commented 4 years ago

I've been testing the "windowsChannels" demo that comes with the Next.

Running from "run with cspect" this line gives error:

40 OPEN #4,"w>4,0,16,20,5"

This is because, when it's tokenized to BAS it translates to:

40 OPEN # #4,"w>4,0,16,20,5"

This doesn't happens with the dot command "txt2bas" that comes with the Next.

remy commented 4 years ago

Thanks - I'm sure I saw that before, so I must have reintroduced it. I'll try to get a fix out this evening because it affects launching into cspect too.