Pause

From Br Wiki
Jump to: navigation, search

The Pause (PAU) statement interrupts program execution, allowing the operator to enter commands, do calculations, or change program lines. PAUSE is also a great way to debug by checking variables as it progress through the program.

Comments and Examples

When Pause is activated, the line above the status line is cleared for command entry. The screen scrolls up as more lines are needed.

The following statement interrupts a program at line 06340. To reactivate the program, you must enter a GO command; the original screen will then be restored.

06340 PAUSE

Syntax

PAUSE

Pause.png

Technical Considerations

1.) An active Pause statement that is alone on a line may be deleted while a program is suspended in Pause mode.
2.) Renumbering statements during a PAUSE or altering a multi-statement line that contains an active Pause statement is not allowed.

See also PAUSE mode