O'Reilly logo

Programming the TI-83 Plus/TI-84 Plus by Christopher R. Mitchell

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 4. Control structures

 

This chapter covers
  • Jumping to other pieces of code inside a program
  • Creating attractive, usable menus
  • Using For, While, and Repeat loops to create complex programs
  • Using subprograms for recursion and code reuse

 

Conditional statements allow your program to make decisions given rules and facts, as you now know from chapter 3. If your programs could use these decisions to jump around within their source code and execute different sections, they could become vastly more powerful. With such commands, you could create whole new classes of programs and games. You’d be able to write your own programs like the GUESS guessing game in chapter 1 that we touched on briefly again in chapters 2 and 3. With loop and jump ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required