HP Business BASIC/XL Reference Manual - HP 3000 MPE/iX Computer Systems - Edition 1 (32715-90001)
2-: 35
When program execution is suspended, control returns to the terminal
keyboard. From the keyboard, you can do any of the following:
* Variable values can be displayed (type the variable name and press
RETURN ).
* Commands can be executed.
* Variable values can be changed (with the LET command).
* Program lines can be modified (with the MODIFY command).
* Program lines can be inserted.
* Program lines can be deleted (with the DELETE command or as explained
in "Creating and Modifying a Program").
* Control can be transferred to another part of the program (with a
GOTO, GOSUB, or CALL command).
* Program lines can be added (as explained in "Creating and Modifying a
Program").
A busy line or subunit cannot be modified or deleted when the program is
suspended. See "Busy Lines and Busy Subunits" for more information.
Table 2-7 lists the debugging statements and commands and their effects.
All of the debugging statements and commands affect the current program.
None of the debugging commands are compilable.
Table 2-7. Program Debugging Commands
---------------------------------------------------------------------------------------------
||| |
| Command | Command or | Effect |
||Statement? ||
||| |
---------------------------------------------------------------------------------------------
||| |
| CALLS | Command | Prints names of busy program units on |
| | | system printer. |
||| |
---------------------------------------------------------------------------------------------
||| |
| CONTINUE | Command | Restarts suspended program. |
||| |
---------------------------------------------------------------------------------------------
||| |
| FILES | Command | Prints names and numbers of open files on |
| | | system printer. |
||| |
---------------------------------------------------------------------------------------------
||| |
| HOP | Command | Executes program and suspends it at next |
| | | line that is in same program unit and not |
| | | in a loop. |
||| |
---------------------------------------------------------------------------------------------
||| |
| PAUSE | Statement | Suspends program execution.* |
||| |
---------------------------------------------------------------------------------------------