Function InkeyTrap() Foundation

Inkey() equivalent which evaluates SetKey() code blocks.

Syntax
InkeyTrap( <nWaitSeconds> ;  // Type: N
         ) --> nInkeyCode
Return

Returns the Inkey() code of the last key pressed or 0 if no key was pressed during a period of <nWaitSeconds> time.

Description

When the pressed key is associated with a code block this block is evaluated.

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.