EasyManuals Logo
Home>Texas Instruments>Calculator>TI-89 Titanium

Texas Instruments TI-89 Titanium User Manual

Texas Instruments TI-89 Titanium
977 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #597 background imageLoading...
Page #597 background image
Programming 594
Because a Goto command is unconditional (it always branches to the specified label), it
is often used with an
If command so that you can specify a conditional test. For example:
Ê
If x>5, branches directly to label GT5.
Ë For this example, the program must include commands (such as Stop) that prevent Lbl GT5
from being executed if x
{5.
Using Loops to Repeat a Group of Commands
To repeat the same group of commands successively, use a loop. Several types of loops
are available. Each type gives you a different way to exit the loop, based on a conditional
test.
F2 Control Toolbar Menu
Ê
Ë
:If x>5
: Goto GT5
:Disp x
:--------
:--------
:Lbl GT5
:Disp "The number was > 5”
To enter most of the loop-related commands,
use the Program Editor’s
Control toolbar
menu.

Table of Contents

Other manuals for Texas Instruments TI-89 Titanium

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments TI-89 Titanium and is the answer not in the manual?

Texas Instruments TI-89 Titanium Specifications

General IconGeneral
BrandTexas Instruments
ModelTI-89 Titanium
CategoryCalculator
LanguageEnglish

Related product manuals