Skip to content

BASIC PAUSE Statement

Curtis F Kaylor edited this page Nov 17, 2023 · 2 revisions

PAUSE

TYPE: plusBASIC system statement


FORMAT: PAUSE

Action: Suspends program execution until a key is pressed.

  • The program continues with the statement following the PAUSE after the key is pressed.
  • Break will occur if Ctrl-C is pressed.

FORMAT: KEYWORD message

Action: As above, but prints the specified message before pausing.

  • message is a string or string expression.

Example:

PAUSE "Press a key

Displays the message Press a key then waits for a key to be pressed.

Clone this wiki locally