pause

Prev Next

Function Names

pause

Description

Program execution will be paused. The user can decide whether to continue or to stop. If function parameters are provided, then they will be printed out like in echo().

Call as: procedure

Restrictions

Indirect parameter passing is disabled

Parameter count

Min. 1

Parameters

No.TypeDescription
Opt. 1, ...
input
string Contents to print out

The values in these parameters will be printed out.

Examples

       pause("Lunch break");
       echo("Left the restaurant");
       pause;
       echo(Back at home.)

Output

Lunch break
Press [ENTER] to continue or [CTRL+C] or [ESCAPE] to exit.

Left the restaurant
pause (); called

Press [ENTER] to continue or [CTRL+C] or [ESCAPE] to exit.

Back at home.

See also

interactive