similar to DBPro's command of the same name where the program would halt until (any) key was pressed:
+ Code SnippetPrint ("press a key")
Sync()
WaitKey()
do
print( GetCharBuffer())
Print(ScreenFPS())
Sync()
loop
Function WaitKey()
repeat
until GetCharBuffer() <> ""
EndFunction