{{htmlmetatags>metatag-robots=()
metatag-title=(SCREEN PAGE | ugBASIC User Manual)
metatag-keywords=(ugBASIC,Commodore 64,Commodore PLUS/4,ZX Spectrum)
metatag-description=(Manual page for SCREEN PAGE)
metatag-media-og:image=(:ugbasic:logo-ugbasic-fb.png)
metatag-og:title=(SCREEN PAGE | ugBASIC User Manual)
metatag-og:description=(Manual page for SCREEN PAGE)
}}
====== ugBASIC User Manual ======
===== SCREEN PAGE =====
===== SYNTAX =====
= SCREEN PAGE
==== PURPOSE ====
The semantics of this keyword is different, depending on whether double buffering
is enabled or not. If double buffering is enabled, the ''SCREEN PAGE'' function
allows to know which page the program is on. There are two pages, page 0 (''PAGE 0''
or ''PAGE A'') and page 1 (''PAGE 1'' or ''PAGE B''). When you draw on page 0,
page 1 is visible, and vice versa.
On the other hand, if doube buffering is not enabled, this function will return
the actual screen page in use, as set by ''SCREEN PAGE'' command.
==== EXAMPLE ====
IF SCREEN PAGE = PAGE 0 THEN
PRINT "first page"
ENDIF
==== ABBREVIATION ====
ScPg
==== AVAILABLE ON ====
* TRS-80 Color Computer 3
==== ANY PROBLEM? ====
If you have encountered a problem using this command, if you think there is a bug or the explanation is unclear, please [[https://github.com/spotlessmind1975/ugbasic/issues/new?title=ISSUE ON SCREEN PAGE|open an issue]] for this keyword on GitHub. Thank you!===== POWERED BY =====
[[:ugbasic:user:index|{{ :ugbasic:user:logo-ugbasic.png?nolink&600 |}}]]