dash shows QBASIC graphic in 256 colour
Answers
Answer:
SCREEN (statement)
Jump to navigationJump to search
Contents
1 Syntax
2 Parameters
3 Legacy Screen Modes
4 Modern Syntax
5 Text and Graphics
6 Examples
7 References
8 See also
The SCREEN statement sets the video display mode and size of the program window's workspace.
Syntax
SCREEN {mode%|imagehandle&} [, , active_page, visual_page]
Parameters
The SCREEN mode INTEGER values available today are 0 to 2 and 7 to 13 listed below.
QB64 can use a LONG _NEWIMAGE page or _LOADIMAGE file image handle value instead.
The empty comma disables color when any value is used. DO NOT USE! Include the comma ONLY when using page flipping.
If the SCREEN mode supports pages, the active page is the page to be worked on while visual page is the one displayed.
Usage:
No SCREEN statement in a program defaults to SCREEN 0 text ONLY mode.
A SCREEN statement that changes screen modes also clears the screen like CLS. Nothing on the screen is retained.
Some screen mode text sizes are adjustable with WIDTH and all QB54 screens support PCOPY and page flipping.
Answer:
COLOR or CLC
Explanation:
the new statement COLOR