Screen Strings

See all articles from Sinc-Link v5 n4
Author(s): Robert J. Midura
Publication: Sinc-Link
Pub Details: Sinc-Link v5 n4 (Volume 5, Issue 4)
Date: July/August 1987
Pages: 12

Summary

This short ZX81 program write-up shows how to store the screen display in a string variable so that it can be redrawn almost instantly with a single PRINT statement instead of FOR-NEXT loops. The BASIC listing copies the display file, skipping the end-of-line codes, into a 704-character string, using a test pattern of randomly indented text as its example. It explains how to run the demonstration in SLOW mode and print the stored string afterwards.

Reprinted from SYNC, by Robert J. Midura.