Editing Program Contents; Debugging A Program; To Eliminate Bugs That Cause Error Messages; To Eliminate Bugs That Cause Bad Results - Casio Algebra FX 2.0 PLUS User Manual

Hide thumbs Also See for Algebra FX 2.0 PLUS:
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
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
• 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
1(JUMP)c(Bottom)... Moves the cursor to the
8-3-1
Editing Program Contents
α
-1-1) for steps you should take to correct the situation.
top of the program
bottom of the program
19990401

Advertisement

Table of Contents
loading

Table of Contents