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_nokey([<secondsn>|0 [,<procedurec>]]) http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Syntax: N_NOKEY([<secondsN>|0 [,<procedureC>]])

Calls user defined procedure if a key is not pressed within specified time.

N_NOKEY() with no parameters returns seconds remaining until event.

Example

* call PROC1 if no key has been pressed within 30 seconds
N_NOKEY(30,"PROC1")
READ

Notes

N_NOKEY is active only during a Wait state, i.e., during a Wait state - such
as READ, ACCEPT, etc.

87:  INKEY is not a Wait state, N_NOKEY is not active.

5.0: INKEY is a Wait state, N_NOKEY is active.

N_NOKEY(0) disables N_ANYKEY interrupts.  N_ANYKEY should be disabled while,
or as soon as it is no longer needed.

N_NOKEY(<secondsN>) with no second parameter alters the time interval
without changing the procedure.

See Also: N_ANYKEY

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