All there is to know about TI-BASIC, assembly language, and everything in between.

*Programming the TI-83 Plus/TI-84 Plus* is an example-filled, hands-on tutorial that introduces students, teachers, and professional users to programming with the TI-83 Plus and TI-84 Plus graphing calculators. This fun and easy-to-read book immediately immerses you in your first programs and guides you concept-by-concept, example-by-example. You'll learn to think like a programmer as you use the TI-BASIC language to design and write your own utilities, games, and math programs.

## foreword

## preface

## acknowledgments

## about this book

# Part 1 Getting started with programming

## 1. Diving into calculator programming

### 1.1. Your calculator: the pocket computer you already own

### 1.2. Hello World: your first program

### 1.3. Math programming: a quadratic solver

### 1.4. Game programming: a guessing game

### 1.5. Summary

## 2. Communication: basic input and output

### 2.1. Getting to know the program editor and homescreen

### 2.2. Output: displaying text

### 2.3. Input from users: the Prompt and Input commands

### 2.4. Troubleshooting tips

### 2.5. Summary

## 3. Conditionals and Boolean logic

### 3.1. Introduction to comparisons

### 3.2. Conditional statements

### 3.3. Boolean logic

### 3.4. Summary

## 4. Control structures

### 4.1. Labels and Goto

### 4.2. Menus

### 4.3. For, While, and Repeat

### 4.4. Subprograms and termination

### 4.5. Summary

## 5. Theory interlude: problem solving and debugging

### 5.1. Introduction: idea to program

### 5.2. Planning a program’s structure

### 5.3. Headache-free coding and testing

### 5.4. Understanding TI-BASIC errors

### 5.5. Tracing malfunctioning code

### 5.6. Summary

# Part 2 Becoming a TI-BASIC master

## 6. Advanced input and events

### 6.1. Event loop concepts

### 6.2. getKey

### 6.3. The Mouse and Cheese game

### 6.4. getKey odds and ends

### 6.5. Summary

## 7. Pixels and the graphscreen

### 7.1. Introducing the graphscreen

### 7.2. Drawing text: first steps on the graphscreen

### 7.3. Playing with pixels

### 7.4. A painting program

### 7.5. Summary

## 8. Graphs, shapes, and points

### 8.1. Another coordinate system: points versus pixels

### 8.2. Graphing from programs

### 8.3. Drawing with points

### 8.4. Lines and shapes

### 8.5. Working with pictures

### 8.6. Summary

## 9. Manipulating numbers and data types

### 9.1. Using strings

### 9.2. Lists and matrices

### 9.3. Working with integers and complex numbers

### 9.4. Revisiting randomness

### 9.5. Fun with data types: a single-screen RPG

### 9.6. Summary

# Part 3 Advanced concepts; what’s next

## 10. Optimizing TI-BASIC programs

### 10.1. Implicit conditionals

### 10.2. Exploiting Ans

### 10.3. Compressing numbers and choices

### 10.4. Space-saving tips and tricks

### 10.5. Summary

## 11. Using hybrid TI-BASIC libraries

### 11.1. Introducing hybrid TI-BASIC

### 11.2. Working with hybrid sprites

### 11.3. Tilemapping and scrolling

### 11.4. Finding and executing programs

### 11.5. Other hybrid tools

### 11.6. Summary

## 12. Introducing z80 assembly

### 12.1. What is assembly?

### 12.2. "Hello, World"

### 12.3. Bases and registers

### 12.4. z80 math with registers

### 12.5. Functions and control flow

### 12.6. Summary

## 13. Now what? Expanding your programming horizons

### 13.1. Taking your calculator programming further

### 13.2. Expanding your programming horizons

### 13.3. Working with hardware

### 13.4. Final thoughts

## Appendix A: Review: using your calculator

## Appendix B: TI-BASIC command reference

## Appendix C: Resource list

## Appendix D: Programming the TI-84 Plus C Silver Edition and TI-84 Plus CE — *available online only*

## index

## About the Technology

The TI-83 Plus and TI-84 Plus are more than just powerful graphing calculators—they are the perfect place to start learning to program. The TI-BASIC language is built in, so you have everything you need to create your own math and science programs, utilities—even games.

## About the book

*Programming the TI-83 Plus/TI-84 Plus* teaches universal programming concepts and makes it easy for students, teachers, and professionals to write programs for the world's most popular graphing calculators. This friendly tutorial guides you concept-by-concept, immediately immersing you in your first programs. It introduces TI-BASIC and z80 assembly, teaches you tricks to slim down and speed up your programs, and gives you a solid conceptual base to explore other programming languages.

**FREE domestic shipping** on three or more pBooks

Makes advanced mathematics and programming techniques accessible to everyone.

Provides a way to look at your calculator that you never thought of before.

Your one-stop guide to TI-BASIC programming.

A complete TI-BASIC tutorial and a good overture to more languages.