Chapter 9. Manipulating numbers and data types

 

This chapter covers
  • Working with strings and real and complex numbers
  • Making programs use random numbers
  • Creating games and programs with matrices and lists

 

Numbers can take on many roles in your programs. They can represent integers or decimal numbers, they can represent the Boolean values true and false, and they can be used to hold angles or coordinates or health or time or any number of other things. But in TI-BASIC, as in almost any other programming language, numbers aren’t expressive enough for everything. Single numbers can’t store information about the sequences of characters that form words and sentences. The numeric variables that you’ve used so far can only clumsily be used for ...

Get Programming the TI-83 Plus/TI-84 Plus now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.