EasyManuals Logo
Home>Texas Instruments>Calculator>TI-Nspire

Texas Instruments TI-Nspire Software Guide

Texas Instruments TI-Nspire
380 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 #352 background imageLoading...
Page #352 background image
340 Programming
Loop...EndLoop loops
A Loop...EndLoop creates an infinite loop, which is repeated endlessly.
The
Loop command does not have any arguments.
Typically, you insert commands in the loop that let the program exit from
the loop. Commonly used commands are:
If, Exit, Goto, and Lbl (label).
For example:
À An If command checks the condition.
Á Exits the loop and jumps to here when x increments to 6.
Note: The
Exit command exits from the current loop.
In this example, the
If command can be anywhere in the loop.
The
If command could also use a Goto command to transfer program
control to a specified Lbl (label) command.
When the If command is: The loop is:
At the beginning of the loop Executed only if the condition is true.
At the end of the loop Executed at least once and repeated
only if the condition is true.
Loop
--------
--------
EndLoop
--------
0&x
Loop
Disp x
x+1
&x
If x>5
À
Exit
EndLoop
Disp x
Á

Table of Contents

Other manuals for Texas Instruments TI-Nspire

Questions and Answers:

Question and Answer IconNeed help?

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

Texas Instruments TI-Nspire Specifications

General IconGeneral
TypeDisplay
Form factorPocket
Product colorBlue, White
Display resolution320 x 240 pixels
Display size (HxV) (imperial)0 \
Compatible operating systemsWindows Vista/XP Mac OS X 10.4/10.5
Battery typeAAA
Number of batteries supported4
Weight and Dimensions IconWeight and Dimensions
Dimensions (WxDxH)100 x 198.3 x 28.7 mm

Related product manuals