Reference Manual - Table of Contents Direct Keyboard Access Function Summary:
var$ = GetKeys( )
var = KeysDown( )
var = IfKey( )
var$ = GetKeys( )
This function returns a text string that represents the key down bit status of all keys on the keyboard.
var = KeysDown( )
This function returns a numeric value that indicates if any keys are currently being pressed. It returns a value of 1 if any keys are being pressed down or a 0 if there is not.
var = IfKey ( keycode )
This function returns a numeric value that indicates whether the key represented by the keycode value (which is the scan code) currently being pressed.