20021201
Tip
• The “ans” variable is a system variable. For details about system variables, see “1-7 Variables
and Folders”.
• Since “ans” is a variable name, you can specify the “ans” variable by inputting [a][n][s] on the
0
(alphabet) keyboard, or by tapping the
D
key on the
9
or the
)
keyboard.
• The “ans” variable stores the result of your last or most recent calculation.
• The work area maintains a calculation history of the calculations you perform (page 2-3-1). Any
instance of the “ans” variable in the calculation history contains the result of the calculation
immediately prior to that instance. You can use “ans” as many times as you want in calculations,
as long as you remember that the value or expression assigned to each “ans” variable in the
calculation history is determined by the calculation immediately preceding it.
• Using the “ans” variable in a calculation results in an error if the previous calculation produced an
error display or after a program produces the “done” message on the display.
• The format of the calculation result value assigned to the “ans” variable depends on the Basic
Format dialog box [Display] setting (page 13-3-2). The following illustrates the format used when
“Fix2” is selected for the [Display] setting.
approx (1/3)
w
0.33
ans
×
3
w
0.99
See “Standard Mode and Decimal Mode” on page 2-2-5.
Calculation Error
An error message dialog box, like the one shown below, appears when there is a problem
with the syntax of an input expression or value, when the number of decimal places of a
calculation result in the Standard mode (page 2-2-5) exceeds a specified range, etc. Tap
[OK] to close the dialog box and return to the calculation.
2-2-3
Basic Calculations
Tip
• The text of the error message dialog box depends on the type of error that occurred. For details,
see the “Error Message Table” on page
α
-10-1.
• If you perform a calculation that is mathematically undefined (such as division by zero), the
message “Undefined” appears in place of the calculation result, without display of an error
message.