Texas Instruments TI-89 Tip List page 308

Graphing calculator
Hide thumbs Also See for TI-89:
Table of Contents

Advertisement

A typical appsdef matrix might look like this:
"Voltage divider solver"
"Cubic spline"
"RTD resistance"
For example, the program vdiv() is located in folder voltdiv. The description that will be shown in the
pop-up box is "Voltage divider solver".
The second application launcher
Daniel's application launcher looks like this:
kbdprgm1()
Prgm
setFold(main)
Local a
PopUp mat>list(pmat[1]),a
expr(pmat[2,a])
EndPrgm
Since the program is named kbdprgm1, it can be launched from any folder by pressing [DIAMOND] [1].
You could also rename my apps() program to kbdprgm1, with the same effect.
In this program, the application information is saved in a 2-row matrix called pmat. One column is used
for each application. For the example applications above, pmat looks like this:
"Voltage divider solver"
"voltdiv\vdiv()"
The first row shows the text that will appear in the pop-up menu. The second row specifies the folder
and the application name, including the parentheses.
Daniel's launcher requires a simpler matrix to save the application information. Also, since he saves
the pop-up menu items as the row of the matrix, instead of the column, he can simply use
PopUp mat>list(pmat[1]),a
to create the pop-up menu, since pmat[1] accesses the entire first row of the matrix. Daniel's launcher
is also smaller because he doesn't set the folder to \main after the application executes. This isn't really
necessary, but you can add it, if you want it.
(Credit for second method to Daniel Lloyd)
c1
"voltdiv"
"cubspline"
"rtdeqs"
c1
"Cubic Spline"
"cubspline\spline()"
c2
c3
"vdiv()"
"spline()"
"RTD385()"
c2
c3
"RTD resistance"
"rtdeqs\RTD385()"
7 - 19

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ti-92+

Table of Contents