Texas Instruments TI-73VSC Guidebook - Page 240
Lbl and Goto, to a particular location in a program.
UPC - 033317197750
View all Texas Instruments TI-73VSC manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 240 highlights
234 Chapter 12: Programming ³ Write a program named PAUSE that stores a value to A, an equation to Y1, graphs Y1 using standard WINDOW values (ZStandard), pauses, and then displays A. PROGRAM:PAUSE :2"A :FnOff :"X+A""Y :ZStandard For FnOff and Y1, press - } 2 1. For ZStandard, :Pause press ( 6. :Disp "A=",A :Pause Press b to get to next screen. Lbl and Goto 8 9 and 0 Press b to end execution. 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 A100. PROGRAM:SQUARE2 :Lbl 99 :Input A :If A|100 :Stop :Disp A :Pause :Goto 99 Press b after answer is displayed.