how to check if any key was pressed

BlitzMax Forums/BlitzMax Beginners Area/how to check if any key was pressed

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Hi
How to check if any key was pressed without holding the program, like waitkey does. I can you keyhit, but I have to specify the keycode. Is there a command that will return true if any key was pressed?