Download Print this page

Program: Window Variables Store And Recall - Texas Instruments TI-80 Manual Book

Graphing calculator

Advertisement

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
11-8 Applications
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.

Hide quick links:

Advertisement

loading