Operation Manual

219
Chapter 11: Programming Features
• Press
@
z
H
E
A
0
2
to
display “x
_
onthescreen.
• Press
E
to obtain
theaveragevalueofXas
determined in the previous
calculation.
• Inthisway,thecontentsofanimmediatelyprecedingstatistical
calculation can be stored as statistical values.
• Thesecontentsremainvaliduntilthenextstatisticalcalculationis
executed, even if the power is turned off.
• Thesameistrueevenforregressioncalculationsandverication
calculations.
8. Debugging
Afterprogramming,itisrequiredtodebugtheprogram.
1. Press
P
A
and select the program to debug.
If any bugs are present, error messages will appear.
The following example indicates that the same label name has
been used two or more times.
2. Press
;
or
'
to
display the line where the
error exists and correct the
mistake.
Execution can be interrupted by pressing
O
.
Usethiscommandiftheprogramentersaninniteloop.Press
;
or
'
to display the program source with the cursor on
the line where interrupted.
*RefertoAppendix4“ErrorCodesandErrorMessages”onpage
235.
*Itishighlyrecommendedthatgoto-Labelstatementsarenot
usedinIf,WhileandForloopstructures.
* Multiple statements cannot be used in a command line such as
Else,EndIf,Next,WhileandWEnd.Itisrecommendednottouse
multiple statements.
When an infinite
loop occurs