{{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 ''SCREEN PAGE'' function allows to know which page the program is on,
if double buffering mode is enabled. 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.
==== EXAMPLE ====
IF SCREEN PAGE = PAGE 0 THEN
PRINT "first page"
ENDIF
==== ABBREVIATION ====
Sc Pg
==== 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 |}}]]