You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
In QBasic the POINT function form used to retrieve color attribute always use physical screen coordinates, regardless of WINDOW. QB64, on the other hand, uses WINDOW logical coordinates.
To Reproduce
Run the following code snipet:
SCREEN7
X =2: Y =2PRINT"No window:", POINT(X, Y)
PRINT"Correct!"WINDOW (-1, 1)-(1, -1)
PRINT"With WINDOW:", POINT(X, Y)
PRINT"Bug! Should have been:", POINT(PMAP(X, 2), PMAP(Y, 3))
PRINT"With WINDOW using PMAP:", POINT(PMAP(X, 2), PMAP(Y, 3))
PRINT"Bug! Should have been:", POINT(X, Y)
Expected behavior
WINDOW should not affect POINT's interpretation of the coordinates in its color attribute form.
Screenshots
Desktop (please complete the following information):
OS: Debian GNU/Linux
QB64pe 3.14.1
The text was updated successfully, but these errors were encountered:
Describe the bug
In QBasic the POINT function form used to retrieve color attribute always use physical screen coordinates, regardless of WINDOW. QB64, on the other hand, uses WINDOW logical coordinates.
To Reproduce
Run the following code snipet:
Expected behavior
WINDOW should not affect POINT's interpretation of the coordinates in its color attribute form.
Screenshots
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: