HP Business BASIC/XL Reference Manual - HP 3000 MPE/iX Computer Systems - Edition 1 (32715-90001)
2-: 37
Syntax
CALLS
Example
If the program is not running:
>
CALLS
MAIN Not executing.
If the program has paused at line 10:
>
CALLS
MAIN @ 10
Suppose that the following are true:
Line 10 of the main program calls subunit FNBeep$.
Line 40 of FNBeep$ calls subunit FNBeep.
Line 50 of FNBeep calls subunit B.
The program pauses at line 100 in subunit B.
Then:
>CALLS
SUB B @ 100
FNBeep @ 50
FNBeep$ @ 40
MAIN @ 10
CONTINUE Command
The CONTINUE command restarts a suspended program. The CONTINUE command
is a command-only statement. That is, it can only be issued at the
interpreter prompt and cannot be placed in a program.
Syntax
{CONTINUE}[
line_id
]
{CONT }[* ]
Parameters
line_id
Line that program execution will restart at. The line
must belong to the program unit that was executing when
the program was suspended. An error occurs if
line_id
is not in the program.
* Restarts the program at the last line executed.
If neither
line_id
nor * is specified, the CONTINUE command restarts
program execution at the next line to be executed.