Using programs, Run a program, Debug a program – HP 39g Graphing Calculator User Manual
Page 215: Stop a program
Attention! The text in this document has been recognized automatically. To view the original document, you can use the "Original mode".
Using programs
Run a program
From HOME,
type RUN
program name,
or
From the Program catalog, highlight the program you want to
run and press IH'UI.
Regardless of where you start the program, all programs run
in HOME. What you see will differ slightly depending on
where you started the program. If you start the program from
HOME, the HP 39G/40G displays the contents of Ans (Home
variable containing the last result), when the program has
finished. If you start the program from the Program catalog,
the HP 39G/40G returns you to the Program catalog when the
program ends.
Debug a
program
If you run a program that contains errors, the program will
stop and you will see an error message.
A Inualid
Syntax
Edit proyram?
To debug the program:
1. Choose US to edit the program.
The insert cursor appears in the program at the point
where the error occurred.
2. Edit the program to fix the error.
3. Re-start the program.
4. Repeat the process until you find and correct all errors.
Stop a
program
You can stop the execution of a program at any time by
pressing
CANCEL
(the |
on
| key). Note: You may have to press
it a couple of times.
Programming
15-7