Pause: Difference between revisions

From BR Wiki
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
The '''Pause''' (PAU) [[statement]] interrupts [[program]] execution, allowing the operator to enter system [[commands]], do calculations, or change program [[lines]].
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===
===Comments and Examples===
Line 7: Line 7:


  06340 PAUSE
  06340 PAUSE
===Syntax===
PAUSE


[[Image:Pause.png]]
[[Image:Pause.png]]

Latest revision as of 20:01, 24 April 2014

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

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