Technology
 

Ans

From TI-BASIC Wiki - The free TI-BASIC encyclopedia

Ans returns the result of the last operation. This ignores any functions without a return value. Ans may have any type, including Real, List, Matrix or String.

[edit] Location

  • On the keypad
  • 2ND + (-)

[edit] Example

:1+1
:Disp Ans

This will display 2. Ans is updated since 1+1 has the return value 2.

:1+1
:Disp 3+1
:Disp Ans

This will display 4 then 2. Ans is updated with the call 1+1, but it is not updated by the call Disp 3+1, since Disp does not return a value.