Editing Program Contents; Debugging A Program; To Eliminate Bugs That Cause Error Messages; To Eliminate Bugs That Cause Bad Results - Casio fx-9860G Series User Manual

Software version 1.11
Hide thumbs Also See for fx-9860G Series:
Table of Contents

Advertisement

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

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 fl ashing at the location of the problem. Check the "Error
Message Table" (page
• 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.

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
2(BTM)...... Moves the cursor to the bottom of
8-3-1
Editing Program Contents
α
-1-1) for steps you should take to correct the situation.
program
the program
20070201

Advertisement

Table of Contents
loading

Table of Contents