Programming
447
BEGIN
END;
EXPORT NAME2( )
BEGIN
END;
Now note that when you tap
or
, a list with
NAME1
and
NAME2
appears.
Debug a
Program
You cannot run a program that contains syntax errors. If
the program does not do what you expect it to do, or if
there is a run-time error detected by the system, you can
execute the program step by step, and look at the values
of local variables.
Let’s debug the program created above: MYPROGRAM.
1. In the Program
Catalog, select
MYPROGRAM.
Sx
Select
MYPROGRAM
2. Tap .
If there is more than
one EXPORT function
in a file, a list
appears for you to
choose which
function to debug.
While debugging a
program, the title of the program appears at the top
of the display. Below that is the current line of the
program being debugged. The current value of each
variable is visible in the main body of the screen. The
following menu buttons are available in the
debugger:
: Skips to the next line of the program
: Executes the current line
Summary of Contents for NW280-200X
Page 1: ...HP Prime Graphing Calculator User Guide ...
Page 4: ......
Page 56: ...50 Reverse Polish Notation RPN ...
Page 64: ...58 Computer algebra system CAS ...
Page 107: ...An introduction to HP apps 101 ...
Page 108: ...102 An introduction to HP apps ...
Page 188: ...182 Spreadsheet these variables is provided in chapter 21 Variables beginning on page 373 ...
Page 220: ...214 Statistics 2Var app ...
Page 252: ...246 Linear Solver app ...
Page 258: ...252 Parametric app ...
Page 268: ...262 Sequence app ...
Page 404: ...398 Units and constants ...
Page 416: ...410 Lists ...
Page 442: ...436 Notes and Info ...
Page 532: ...526 Limiting functionality ...
Page 536: ...530 ...
Page 540: ...534 ...