Trouble reading KeyDown and KeyHit in BlitzPlus

Blitz3D Forums/Blitz3D Beginners Area/Trouble reading KeyDown and KeyHit in BlitzPlus

I pressed the ESC key and it still does nothing. I am just learning so I want to be able to read the KeyDown or KeyHit when necessary to read different keys.
The following code did not even work:

*****
Print "This program is worthless."
Print "Press escape to exit."
;Wait until user any key to escape
WaitKey
End
*****

I'm just trying to use simple examples to learn, but would think that the code above would work. Am I missing something simple?