Any way to check if any key was pressed?

BlitzMax Forums/BlitzMax Programming/Any way to check if any key was pressed?

In the main loop want to check for any key then pass the getted key_coded to each sprite behavior
So you want to check for any key to be pressed then send it off to a function, fair enough. What does that function do?