Debugging A Program - HP 30b - Business Professional Calculator User Manual

Financial calculator
Hide thumbs Also See for 30b - Business Professional Calculator:
Table of Contents

Advertisement

>
3. Press
until the letter R appears, and then press
screen should display a ?.
O
4. Press
to exit.
:
5. Press
6. Now enter program mode again by pressing
video inverse. Since program 0 has a message as the first command, it is now named
R?. The video inverse signifies that it is assigned to a key, in this case
O
to exit.
:k
7.
Now press
5=
Type
calculates the volume.

Debugging a Program

At times, programs do not work as expected. You can debug your programs by pressing the
:
>
(HOLD)
Open the Program menu and select the program you want to debug. To execute the first
instruction, press
program one instruction at a time. The current instruction is displayed as long as the
key is pressed.
If you want to see the next instruction without executing it, press
same manner.
If you want to let the program continue by itself, press
start debugging a program in the middle, place a run/stop (R/S) instruction where you want
to start debugging the program, run the program and start debugging using
>
<
or
when the program stops due to the R/S.
(HOLD)
. Then press
. Notice R? appears, and the program pauses to wait for input.
:
and press
:
or
(HOLD)
:
<
(HOLD)
. Press this key combination repeatedly to execute your
I
O
to exit.
:E
(HOLD)
to resume. The program continues and
<
keys as follows:
:
.
. Press
and the
. The display will show R? in
k
. Press
:
>
(HOLD)
(HOLD)
. If you want to
:
Programming
<
in the
(HOLD)
85

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

20b business consultant

Table of Contents