A typical appsdef matrix might look like this:
"RTD385()"
"rtdeqs"
"RTD resistance"
"spline()"
"cubspline"
"Cubic spline"
"vdiv()"
"voltdiv"
"Voltage divider solver"
c3
c2
c1
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:
kbdprgm
1
()
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:
"rtdeqs\RTD385()"
"cubspline\spline()"
"voltdiv\vdiv()"
"RTD resistance"
"Cubic Spline"
"Voltage divider solver"
c3
c2
c1
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)
7 - 19
Summary of Contents for TI-92+
Page 52: ...Component side of PCB GraphLink I O connector detail 1 41...
Page 53: ...LCD connector detail PCB switch side 1 42...
Page 54: ...Key pad sheet contact side Key pad sheet key side 1 43...
Page 55: ...Key cap detail 1 44...
Page 57: ...Component side of PCB with shield removed A detail view of the intergrated circuits 1 46...
Page 410: ...void extensionroutine2 void Credit to Bhuvanesh Bhatt 10 4...