
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Guide To Clipper - <b>restore screen</b>
[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
RESTORE SCREEN
Syntax: RESTORE SCREEN [FROM <memvar>]
Purpose: To redisplay a previously saved screen.
Options: From: The FROM clause redisplays a screen from the
specified <memvar>.
Usage: RESTORE SCREEN is used generally in conjunction with the
SAVE SCREEN to avoid repainting the original screen that has
been temporarily replaced. Note, however, that <memvar> is
an ordinary character variable and as such can be created
and manipulated in any way you wish.
Warning: SAVE SCREEN, RESTORE SCREEN, SAVESCREEN(), and
RESTSCREEN() are not supported when either ANSI.OBJ or
IBMANSI.OBJ is linked into the current program.
Library: CLIPPER.LIB
----------------------------------- Example --------------------------------
The following example is a small pop-up box:
ans = .F.
SAVE SCREEN
@ 10, 10 CLEAR TO 12, 45
@ 10, 10 TO 12, 45 DOUBLE
@ 11, 12 SAY "File exists, overwrite (y/n)? " GET ans PICTURE "Y"
READ
RESTORE SCREEN
RETURN
See Also: RESTORE SAVE SCREEN
Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson