I am continuing my work in reaction timers. I need most of my functions to run in sequence. I have run into a problem with wait(1); Each function has two or three while(!key_any){wait(1);} to allow subjects to read instructions and continue the task. I have tried both wait_for() and proc_status directly without success.
I have succeeded with messy kludge coding. I am wondering if there is an elegant and general way to control multi-tasking. Thank you.
Researcher & clinician. A6, A7, & A8 First computer a Commodore Pet
|