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

Printing numbers should keep a space to the left #41

Closed
FellippeHeitor opened this issue May 14, 2023 · 1 comment
Closed

Printing numbers should keep a space to the left #41

FellippeHeitor opened this issue May 14, 2023 · 1 comment

Comments

@FellippeHeitor
Copy link
Contributor

FellippeHeitor commented May 14, 2023

It's the reserved space for a negative sign, and also helps when printing sequentially to the screen, since it'll automatically space numbers from each other.

FOR i = 1 TO 5
    PRINT i;
NEXT

That results in " 1 2 3 4 5" in QB64, but yields "12345" in qbjs.

@boxgaming
Copy link
Owner

This issue has been fixed in release 0.7.0

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