Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- GetIt Reference Guide - syntax: n_restattr(<memvar>) http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Syntax: N_RESTATTR(<memvar>)

Restores screen attributes from a memory variable created by N_SAVEATTR.

Example

* F1 help procedure
PROCEDURE help
attr=N_SAVEATTR()                       && save attributes
SET COLOR TO g+/r
SET CURSOR OFF
@ 23,0 SAY "HELP NOT AVAILABLE YET"
N_RESTATTR(attr)                        && restore attributes
RETURN

Notes

The memory variable must have been created by the N_SAVEATTR function.

N_RESTATTR can be used on its own or in combination with Clipper's `RESTORE
SCREEN'.  The Clipper command restores the screen's contents, while
N_RESTATTR restores the screen's attributes, including: all colors; cursor
location, size and visibility; intensity; scoreboard; delimiters; and other
attributes.

See Also: N_SAVEATTR

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson