pause
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().
Indirect parameter passing is disabled
Min. 1
No. | Type | Description |
---|---|---|
Opt. 1, ... input |
string | Contents to print out The values in these parameters will be printed out. |
pause("Lunch break");
echo("Left the restaurant");
pause;
echo(Back at home.)
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.