Pause: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
The '''Pause''' (PAU) [[statement]] interrupts [[program]] execution, allowing the operator to enter | 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]] | ||
Line 12: | Line 16: | ||
===Technical Considerations=== | ===Technical Considerations=== | ||
:1.) An active Pause statement that is alone on a line may be deleted while a program is suspended in Pause mode. | :1.) An active Pause statement that is alone on a line may be deleted while a program is suspended in Pause mode. | ||
:2.) [[ | :2.) [[Renum]]bering statements during a PAUSE or altering a multi-statement line that contains an active Pause statement is not allowed. | ||
See also [[PAUSE mode]] | See also [[PAUSE mode]] |
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