User Tools

Site Tools


jvs:cigal:manual:chapter6:r_uwait

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:
CIGAL Home, CIGAL Manual, RealTime List, Manual Help

jvs/cigal/manual/chapter6/r_uwait.txt · Last modified: 2023/02/23 18:43 (external edit)