07-16-2023, 05:06 PM
It's not recommended to use FIX() to wrap a division. Do this instead:
The larger "slash" key which is the directory separator in Windows, which in QBasic/QB64 is called "integer division".
There are other fonts that have that problem with displaying underscores and stuff like that. On Linux as well. While using Geany I had to change a font because of it, although it looked great for source code.
PRINT on the bottom-most line of SCREEN 0 should be avoided as much as possible and otherwise, use a trailing semicolon for anything used with PRINT.
Code: (Select All)
' Rounding down the TEXTfield to a Integer
MAXwidth = _WIDTH \ _FONTWIDTH
MAXheight = _HEIGHT \ _FONTHEIGHT
The larger "slash" key which is the directory separator in Windows, which in QBasic/QB64 is called "integer division".
There are other fonts that have that problem with displaying underscores and stuff like that. On Linux as well. While using Geany I had to change a font because of it, although it looked great for source code.
PRINT on the bottom-most line of SCREEN 0 should be avoided as much as possible and otherwise, use a trailing semicolon for anything used with PRINT.