References:
- Lookup the SCREEN statement in the BASIC Anywhere Machine Programming Reference
- Lookup the SCREEN keyword in the QB64 Wiki
- Lookup the _NEWIMAGE keyword in the QB64 Wiki
I've implemented _NEWIMAGE such that it is somewhat compatible with the function in QB64.
Although I may implement _NEWIMAGE differently in the future, I decided to go with a no fuss no muss, quick and easy, approach.
In BASIC Anywhere Machine:
- _NEWIMAGE is not a stand-alone function. It is simply a keyword recognized by the SCREEN statement, but a keyword made to look like a function
- Syntax: SCREEN _NEWIMAGE(width, height, mode)
- "Parameters":
- width: the screen width, in pixels, of the console window
- height: the screen height, in pixels, of the console window
- mode: the base screen mode to use, width and height parameters overriding the default width and height of the mode
- The original alternative syntax for the screen statement:
- SCREEN mode
The SCREEN documentation in the programming reference discusses the attributes for each available screen mode. For your convenience, refer to this (small HTML file) export of the "SCREEN Modes" documentation.
No comments:
Post a Comment