LOAD SCREEN$

BASin

LOAD SCREEN$

Statement/Command

LOAD SCREEN$ enables a screen display to be loaded directly from a file. It sends information to the section of memory controlling the screen display in order to reproduce the picture.

How to use LOAD SCREEN$

LOAD SCREEN$ may be used to form a statement or as a direct command. LOAD is followed by a filename, which is a string value, and then SCREEN$, for example

LOAD "picture" SCREEN$

The filename following LOAD is the name that is given to the screen information in the file, and it is subject to the same restrictions as program names used with LOAD. The BASIC then searches for the named information and when found, loads it first into the display file and then the attributes section of the memory. The picture slowly builds up in the current ink and paper colours and then the attributes (true colours and so on) are added.

For more details on storing screen information, see SAVE SCREEN$.

Format

  • LOAD string-expr SCREEN$

See also

Chapter 20.