CIGAL Reference Manual, Chapter 6 (RealTime): r_uwait
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:
CIGAL Home,
CIGAL Manual,
RealTime List,
Manual Help