254
CHAPTER 12
7. Error Messages
• When a program is input, it is necessary to check the program for errors (debug the
program).
• If a problem is found in a program, error messages will be displayed to facilitate
debugging.
• For example, the following message will be displayed if the same label is used 2
times or more in the same program.
• Press < or > to display the line in which the error is located or press
¬
to
return to the normal function calculation screen.
• Program execution can be interrupted anytime by pressing
˚
. (Convenient when
a program has entered an infinite loop.) Press < or > at this time to display
the cursor executed last.
• Refer to Appendix “3. Error Codes and Error Messages” on page 270 concerning
error messages.
8. Sample Program
• Try executing the sample program to become accustomed to programming.
• Either input a command after pressing
Ï
or select another menu.
• In the following sample program, commands have been underlined to distinguish
them from variables.
(1) Conversion of temperatures from Celsius to Fahrenheit
This program converts temperatures in Celsius to Fahrenheit and vice versa.
• The file name is “CONVERT”.
(The following line numbers are unrelated to the program. They are used merely to
identify lines.
EL-9650-(12)En (239-258) 8/1/00, 9:31 AM254