19990401
8-3-1
Editing Program Contents
8-3 Editing Program Contents
k
Debugging a Program
A problem in a program that keeps the program from running correctly is called a “bug,” and
the process of eliminating such problems is called “debugging.” Either of the following
symptoms indicates that your program contains bugs that require debugging.
• Error messages appearing when the program is run
• Results that are not within your expectations
u
u
u
u
u
To eliminate bugs that cause error messages
An error message, like the one shown below, appears whenever something illegal occurs
during program execution.
When such a message appears, press
i
to display the place in the program where the error
was caused. The cursor will be flashing at the location of the problem. Check the “Error
Message Table” (page
$
-1-1) for steps you should take to correct the situation.
• Note that pressing
i
does not display the location of the error if the program is
password protected. Instead, it returns to the program list screen.
u
u
u
u
u
To eliminate bugs that cause bad results
If your program produces results that are not what you normally expect, check the
contents of the program and make necessary changes.
The
1
(JUMP) key is also useful when editing program contents.
1
(JUMP)
b
(Top) ....... Moves the cursor to the
top of the program
1
(JUMP)
c
(Bottom)…Moves the cursor to the
bottom of the program
Summary of Contents for ALGEBRA FX 2.0
Page 1: ... ALGEBRA FX 2 0 User s Guide ...
Page 19: ...19990401 ALGEBRA FX 2 0 ...
Page 26: ...19990401 1 1 Keys 1 1 1 Keys REPLAY COPY PASTE CAT CAL H COPY PRGM List Mat i ...
Page 122: ...19990401 ...
Page 280: ...19990401 ...
Page 310: ...19990401 ...
Page 358: ...19990401 8 8 2 Program Library egcw w ww w ...
Page 360: ...19990401 8 8 4 Program Library Example 1 Example 2 fw baw bf w fw baw ca w ...
Page 362: ...19990401 8 8 6 Program Library ...
Page 364: ...19990401 8 8 8 Program Library dw fcde wfcde wfcde fcde w daw w ...
Page 366: ...19990401 8 8 10 Program Library b awaw bwaw aw9d w ...
Page 423: ...19981001 MEMO ...
Page 424: ...19981001 MEMO ...
Page 425: ...19981001 MEMO ...