**CIGAL Reference Manual, Chapter 6 (RealTime): r_uwait** ===== r_uwait -- Wait for user input from the keyboard or mouse ===== **usage: r_uwait opflg eflag ltime [Databuf Timebuf Flag Waitcode]** R_UWAIT is a REALTIME operator that waits for a button to be pressed on the computer keyboard or mouse. TIMEBUF can be used to specify a long integer or array to store the time when the wait terminated. If the DATABUF is an autoincremented array (e.g. buf++) then TIMEBUF will also be incremented after storing the timestamp. FLAG can be used to specify options:\\ 4 - do nothing else until this wait condition is satisfied WAITCODE can be used to specify a particular key value to wait for (all other key presses are ignored). **See Also:**\\ [[jvs:cigal|CIGAL Home]], [[jvs:cigal:manual|CIGAL Manual]], [[jvs:cigal:manual:chapter6|RealTime List]], [[jvs:cigal:manual:help|Manual Help]]