Texas-instruments TI-73 EXPLORER User Manual Page 241

  • Download
  • Add to my manuals
  • Print
  • Page
    / 364
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 240
Chapter 12: Programming
235
7312ENG.DOC CH 12 Programming, English Julie Hewlett Revised: 07/29/98 12:17 PM Printed: 05/19/99 9:02
AM Page 235 of 32
IS>( IS>( 8
A A
IS>(
(increment and skip if greater than) is used for testing and
branching. IS>( adds 1 to variable. If the answer is > value
(which can be an expression), then command1 is skipped; if
the answer is { value, then command1 is executed.
command2 is always executed. variable cannot be a system
variable.
IS>(
is not a looping instruction.
:IS>(
variable,value
)
:
command1 (if answer { value)
:
command2
Write a program named
ISKIP
that displays A until A>5.
PROGRAM:ISKIP
:0
"
A
:Lbl S
:Disp A
:Pause
:IS>(A,5)
:Goto S
:Disp "A IS NOW >5"
:Pause
DS<( DS<( 8
B B
DS<(
(decrement and skip if less than) is used for testing and
branching.
DS<(
subtracts 1 from variable. If the answer is
< value (which can be an expression), then command1 is
skipped; if the answer is | value, then command1 is executed.
command2 is always executed. variable cannot be a system
variable.
DS<(
is not a looping instruction.
:DS<(
variable,value
)
:
command1 (if answer | value)
:
command2
³
Press
b
between
A
values.
Page view 240
1 2 ... 236 237 238 239 240 241 242 243 244 245 246 ... 363 364

Comments to this Manuals

No comments