wait, waitc

Purpose

Waits until any key is pressed.

Format

wait;
waitc;

Remarks

If you are working in terminal mode, these commands do not “see” any keystrokes until ENTER is pressed. waitc clears any pending keystrokes before waiting until another key is pressed.

Source

wait.src, waitc.src

See also

Functions pause()