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_savekeys() http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Syntax: N_SAVEKEYS()

Saves current SET KEY settings, to be restored by N_RESTKEYS.

Example

PROCEDURE HELP
old_keys = N_SAVEKEYS()       && save old SET KEY values
N_ZAPKEYS()                   && clear old SET KEY values
SET KEY CTRL("T") TO helptop  && set new values
SET KEY CTRL("B") TO helpbot
 ...
N_RESTKEYS(old_keys)          && restore previous SET KEY values
RETURN

Notes

Saves current SET KEY settings to a memory variable.  The SET KEY values can
later be restored with N_RESTKEYS.

N_SAVEKEYS does not alter the SET KEY settings.

See Also: N_RESTKEYS N_ZAPKEYS

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