# Pausing a program: Pause WAIT

### 12.4.11 Pausing a program: Pause WAIT

The Pause command pauses Xcas.

- Pause takes one optional argument (with no parentheses).
  Optionally, r, a positive number.
- Pause r pauses Xcas for r seconds.
- Pause brings up a Pause informational window and pauses Xcas until you click Close in the Pause window.

#### Example.

Input:

Pause 10

pauses Xcas for 10 seconds.

The WAIT command also pauses Xcas. It acts just like Pause, but uses parentheses for its argument.

#### Example.

Input:

WAIT(10)

pauses Xcas for 10 seconds.