Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

%SGN {RND40} encoding bug #56

Closed
NealeTools opened this issue Apr 15, 2024 · 5 comments
Closed

%SGN {RND40} encoding bug #56

NealeTools opened this issue Apr 15, 2024 · 5 comments

Comments

@NealeTools
Copy link

Hi Remy, just trying out v1.11.6, but it failed on:

1 SPRITE %SGN {-i},%SGN {RND40-20},%SGN {RND40-20},%56,%1,,%RND2+1,%RND2+1

Results in Nonsense in BASIC. Editing the line in 2.08 (just as simple as delete the final 1 and re-add it) and it runs fine.

@NealeTools
Copy link
Author

EDIT: This passes:
1 SPRITE %SGN {-i},,,%56,%1,,%RND2+1,%RND2+1
So the error is in the %SGN {RND40-20} part.

@NealeTools
Copy link
Author

Actually, just this errors:
%x=%SGN{RND40}

@NealeTools NealeTools changed the title Encoding/parsing bug in SPRITE command %SGN {RND40} encoding bug Apr 15, 2024
@remy
Copy link
Owner

remy commented Apr 15, 2024 via email

@remy
Copy link
Owner

remy commented Apr 18, 2024

Got the code in the txt2bas core, going to release the vscode update now

@NealeTools
Copy link
Author

NealeTools commented Apr 18, 2024

I just tried v11.7, but it still fails...
EDIT: Scratch that - I needed to reload! Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants