PC Logo Wiki
Advertisement

Syntax

SCREENFACTS

Explanation

SCREENFACTS outputs a list containing information on the screen state:

- the background color

- one of the following keywords:

TEXTSCREEN if the Listener window is maximized

FULLSCREEN if the Graphics window is maximized

SPLITSCREEN if neither is maximized

- the number of lines that fits into the Listener window

- the window mode: WRAP, FENCE or WINDOW

- the aspect ratio of the graphics windows. This value is always 1.

- the video mode

- the current horizontal and vertical turtle extents

Example

? SCREENFACTS

Result: [15 [] 6 WRAP 1 84 [316 118]]

?

Advertisement