Thank you for your reply. I have tried proc_kill(4). Unfortunately, it stops all the functions and I cannot read a keypress. There is no "my" or "you" as the program is for reaction time testing and not a "game". I suppose I could "pretend" a game and try proc_kill but I am not sure how to do that.
Researcher & clinician. A6, A7, & A8 First computer a Commodore Pet