1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-26 08:35:52 +00:00
QB64-PE/internal/help/_PRINTMODE_(function).txt
SMcNeill 6e01fc8dce Altered string compare routines (<,<=,>,>=) so they don't give false results with CHR$(0).
Added new _STRCMP and _STRICMP commands for quick string comparisons.
Cleaned up QB64 to finish removing the QUI (quick user insert) code and folders.
Altered UCASE and LCASE routines to be faster in some situations for us.
2014-09-22 08:19:03 -04:00

27 lines
807 B
Plaintext

The {{KW|_PRINTMODE (function)|_PRINTMODE}} function returns the present {{KW|_PRINTMODE}} status as a numerical value from 1 to 3 in graphic screen modes only.
{{PageSyntax}}
:{{Parameter|status%}} = _PRINTMODE[({{Parameter|image_handle}})]
{{PageDescription}}
* If no ''image_handle'' parameter is given the current destination [[SCREEN]] page or image is assumed to be the image surface.
* Returns a status value from 1 to 3 designating the current mode setting:
::::'''1''': mode is _KEEPBACKGROUND
::::'''2''': mode is _ONLYBACKGROUND
::::'''3''': mode is _FILLBACKGROUND (default)
* '''NOTE: The _PRINTMODE statement and function can only be used in graphic screen modes, NOT SCREEN 0'''
{{PageSeeAlso}}
* [[_PRINTMODE]]
* [[_LOADFONT]]
* [[_NEWIMAGE]]
* [[_PRINTSTRING]]
{{PageNavigation}}