Function KeyRead() Foundation
Retrieves the key codes that have been read from the event queue already.
KeyRead() --> cKeyCodes
Returns a string of max. 32k that contains key codes which have been read from the event queue already.
This function exists for compatibility reasons only. A key code is build from its ASCII code and the keyboard scan code. This can lead to problems especially when programming in GUI mode and/or using different keyboards. It is strongly recommended not to use KeyRead().
NOTE: The KeyRead() buffer is only cleared when KeySend() is called. In contrast to CA-Tools the command SET TYPEAHEAD TO does not clear this buffer.
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.