GetKey?

BlitzMax Forums/BlitzMax Beginners Area/GetKey?

I saw that the GetKey() comand is no more... how can I check what keyvalue has been pressed?

So far I also used the GetKey() comand to wait until the user pressed any key. I know there is the WaitKey() comand, but I usually want to exit a loop.

Repeat

Until GetKey() <> 0

How can I do this in BMax??