EasyManua.ls Logo

Texas Instruments TI-73 Explorer - Lbl and Goto 8 9 and 0

Texas Instruments TI-73 Explorer
364 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
Loading...
234
Chapter 12: Programming
7312ENG.DOC CH 12 Programming, English Julie Hewlett Revised: 07/29/98 12:17 PM Printed: 05/19/99 9:02
AM Page 234 of 32
Write a program named
PAUSE
that stores a value to A, an
equation to
Y
1
, graphs
Y
1
using standard
WINDOW
values
(
ZStandard
), pauses, and then displays A.
PROGRAM:PAUSE
:2"A
:FnOff
:"X+A""Y
1
:ZStandard
:Pause
:Disp "A=",A
:Pause
Lbl and Goto Lbl and Goto 8
9 and 0 9 and 0
Lbl
(label) and
Goto
are used together for branching.
Lbl
gives a name (label) to a particular location in a program.
label can be one or two text characters (
A
through
Z
,
0
through
99
).
:Lbl
label
Goto
causes the program to branch to label when
Goto
is
encountered.
:Goto
label
Write a program named
SQUARE2
that asks for an input, A,
squares A, and then displays A until A
100.
PROGRAM:SQUARE2
:Lbl 99
:Input A
:If A| 100
:Stop
:Disp A
2
:Pause
:Goto 99
³
³
Press
b
to get to next
screen.
For
FnOff
and
Y
1
,
press
-
}
2 1
.
For
ZStandard
,
press
(
6
.
Press
b
to end
execution.
Press
b
after answer is
displayed.

Table of Contents

Other manuals for Texas Instruments TI-73 Explorer

Related product manuals