Texas Instruments TI-80 User Manual - Page 172
Program: Window Variables Store and Recall, Window variable values.
View all Texas Instruments TI-80 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 172 highlights
Program: Window Variables Store and Recall The program below lets you store the values for the current Window variables, and it lets you display a graph using previously stored values. It also demonstrates a method for including menus in a program. Program PROGRAM:WINMEM :CLRHOME :DISP "WINDOW MEMORY" :DISP "1:STORE WINDOW" :DISP "2:RECALL WINDOW" :DISP "3:QUIT" :DISP " " :DISP "ENTER 1,2, OR 3" :INPUT M :IF M=1 :GOTO S :IF M=2 :GOTO R :GOTO Q :LBL S :XMIN→A :XMAX→B :XSCL→C :YMIN→D :YMAX→E :YSCL→F :DISP "WINDOW STORED" :GOTO Q :LBL R :A→XMIN :B→XMAX :C→XSCL :D→YMIN :E→YMAX :F→YSCL :DISPGRAPH :GOTO Q :LBL Q :STOP Present menu of choices. Evaluate menu selection. Store current graph Window variable values. Display graph with previously stored variable values. Quit program. 11-8 Applications