User Tools

Site Tools


CIGAL Reference Manual, Chapter 2 (Commands): WAIT

WAIT -- Wait for a specified amount of time or until user input

usage: wait [ DELAY Millisecondflag ]

WAIT with no arguments pauses the program until a keyboard key or mouse-button is pressed. The keyboard or mouse button code is stored in the R0 register variable.

WAIT with a DELAY argument causes the program to pause for a set amount of time and then continue. By default, the delay is interpreted in seconds but if the MILLISECONDFLAG argument is non-zero, the delay is interpreted as milliseconds.

Note: DELAY is read as a floating-point number so that you can specify fractions of a second. Thus, “wait 0.5” is the same as “wait 500 1”. The MILLISECONDFLAG is retained for compatibility with older versions.

See Also:
CIGAL Home, CIGAL Manual, Commands List, Manual Help

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