TI-Basic Z80 Programming/Advanced Variables

From Wikibooks, the open-content textbooks collection

Jump to: navigation, search

[edit] Numerical Data and Variables

The most commonly used and necessary type of variable is the basic A-Z character variable. On the Ti-80-models these types of variables are limited to upper case only, leaving programming options limited to 26 defined areas in which to store variables in the calculator's memory.

-This variable type is double long, meaning that it stores data to the 9 decimal place.
-This type will only store numerical data. Whether the input is an expression (2+3) or a single number (2.3535), the variable will only hold a single value (such as 5 or 2.3535).

To be added soon:The calculator treats real and complex values as different data types; these can be readily converted. Note that adding a single complex value to a list converts the entire list to complex, which can dramatically increase its size.


Previous: Program Basics
Next: Criteria Instructions
Table of Contents: TI-Basic Z80 Programming