Monday, March 21, 2022

🆕 _WIDTH and _HEIGHT functions

These two functions have been added for QB64 compatibility and, more importantly, because they are so darned handy when doing graphics programming and changing SCREEN modes.

From the BASIC Anywhere Machine Programming Guide:

_WIDTH

Description:

The _WIDTH function returns the pixel width of the currently applied SCREEN.

_HEIGHT

Description:

The _HEIGHT function returns the pixel height of the currently applied SCREEN .


Note:

BASIC Anywhere Machine uses wwwBASIC customized as described in the enhancements. page:


No comments:

Post a Comment

📚 Simulating OOP Methods in BAM Using GOSUB

BASIC Anywhere Machine's GOSUB implementation allows using numeric expressions for dynamic line numbers or using string expressions for ...