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

Clears all SET KEY settings.

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

All current SET KEY assignments are cleared as if "SET KEY TO" (with no
procedure name) had been issued for each one.  If the SET KEY values are to
be restored later, they should first be saved with N_SAVEKEYS or they will
have to be explicitly reissued.

See Also: N_SAVEKEYS N_RESTKEYS

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