20050401
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
J
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
J
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.
1
(TOP) ..... Moves the cursor to the top of the
program
2
(BTM) ..... Moves the cursor to the bottom of
the program
Summary of Contents for fx-9860G AU PLUS
Page 1: ...fx 9860G AU User s Guide E http edu casio com ...
Page 2: ...Important Please keep your manual and all information handy for future reference ...
Page 27: ...20050401 1 1 Keys 1 1 1 Keys ...
Page 335: ...20050401 u u u u u Input Example u u u u u Results 6 5 25 Tests ...
Page 361: ...20050401 Calculation Result Output Example p F distribution probability 6 7 15 Distribution ...
Page 435: ...20050401 8 8 2 Program Library egcw w ww w ...
Page 437: ...20050401 8 8 4 Program Library Example 1 Example 2 fw baw bf w fw baw ca w ...
Page 439: ...20050401 8 8 6 Program Library wba wb w w d ...
Page 441: ...20050401 8 8 8 Program Library dw fcde wfcde wfcde fcde w daw w 20070101 ...
Page 443: ...20050401 8 8 10 Program Library b awaw bwaw aw x d w ...
Page 590: ...CASIO COMPUTER CO LTD 6 2 Hon machi 1 chome Shibuya ku Tokyo 151 8543 Japan SA0701 E ...