Closed paulossilva closed 4 years ago
Definitely sounds like an encoding error in my txt2bas. I'll try to get it fixed this morning and push a release.
Thank you for a great example of how to replicate 👍
:tada: This issue has been resolved in version 1.12.10 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
That's been fixed and the update to the vscode plugin is being published - it should be live in the next few minutes or so. Thanks again.
Using the NextBASIC VSCode plugin, errors in BASIC are reported by the interpreter when a SPRITE OVER statement is assigned to an integer variable AND its second parameter is greater than 32.
How to reproduce this error:
It seems the plugin is generating some bad token for line 5 as editing it in the native editor makes the error to go away.
I have tried this in CSpect V.2.12.30 and on a real machine both running ZXNextOS 2.06K and got the exact same result.
Yet, values lower or equal to 32 seem to not cause this behaviour. I have also tested this using a range for the second parameter, like 1 TO 50.
Finally, I have moved the text file to the real machine and used the native .txt2bas, which resulted in a flawlessly running code.