Chapter 16: Programming
440
While
While
While
While
While
performs a group of
commands
while
condition
is true.
condition
is frequently a
relational test (Chapter 2).
condition
is tested when
While
is encountered. If
condition
is true
(nonzero), the program executes a group of
commands
.
End
signifies the end of the group.
When
condition
is false (zero), the program executes each
command
following
End
.
While
instructions can be nested.
:While
condition
:
command
(while
condition
is true)
:
command
(while
condition
is true)
:End
:
command
Repeat
Repeat
Repeat
Repeat
Repeat
repeats a group of
commands
until
condition
is true (nonzero). It is similar to
While
,
but
condition
is tested when
End
is encountered; therefore, the group of
commands
is
always executed at least once.
Repeat
instructions can be nested.
:Repeat
condition
:
command
(until
condition
is true)
Program
Output
Summary of Contents for -84 Plus
Page 1: ...TI 84 Plus TI 84 Plus Silver Edition Guidebook...
Page 213: ...Chapter 8 Draw Instructions 210...
Page 248: ...Chapter 10 Matrices 245 row value matrix rowA rowB...
Page 332: ...Chapter 12 Statistics 329...
Page 413: ...Chapter 14 Applications 410...
Page 427: ...Chapter 15 CATALOG Strings Hyperbolic Functions 424 sinh 1 value cosh 1 value sinh 1 value...
Page 496: ...Chapter 17 Activities 493 If C A and D B Stop Goto Z Quit if guesses are correct...
Page 672: ...Appendix C Service and Warranty Information 669...