QB64.com

QB64 is a modern extended BASIC programming language that retains QBasic/QuickBASIC 4.5 compatibility and compiles native binaries for Windows, Linux, and macOS.

The _PRINTMODE statement sets the text or _FONT printing mode on a background image when using PRINT or _PRINTSTRING.

Syntax

_PRINTMODE {_KEEPBACKGROUND _ONLYBACKGROUND _FILLBACKGROUND}[, imageHandle&]

Parameter(s)

Description

Example(s)

Using _PRINTMODE with PRINT in a graphic screen mode. The background used is CHR$(219) = █


SCREEN 12
COLOR 8: LOCATE 10, 10: PRINT STRING$(3, 219) 'background 
_PRINTMODE _KEEPBACKGROUND
COLOR 15: LOCATE 10, 10: PRINT _PRINTMODE 
END 

See Also