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