2. Call the 'exit' routine directly, without expr(). This prevents me from using an application
launcher I wrote to manage my apps.
3. Archive most of the exit program, but put the final stop instruction in its own, unarchived
program which is called by the exit program. While this seems like an acceptable work-around,
it should not be necessary.
4. Call the 'exit' routine as usual, but use return instead of stop to terminate program operation.
[7.8] Return program results to home screen
A TI-89/TI-92 Plus function can return a result to the command line, but a program usually cannot.
However, there are two methods to get around this limitation.
Method 1: Samuel Stearly's copyto_h():
Samuel Stearly has written an ASM program that copies program results to the home screen. For the
latest version, search for copyto_h on ticalc.org. The call syntax for copyto_h() is
copyto_h([name
1
[,name2]])
name1 and name2 are variable name strings. If no arguments are passed, copyto_h() displays the call
syntax in the status line. If name1 is passed, the contents of name1 are copied to the entry and
answer areas of the home screen. If name1 and name2 are passed, the contents of name1 and name2
are copied to the entry and answer areas, respectively. This feature provides a very convenient way to
label multiple results. name1 and name2 may include a folder specification. This simple test routine
demonstrates the usage:
t()
Prgm
local v
1
,v2,v3,v4,v5
1
.224
→
v
1
"Label
1
"
→
v2
2.222
→
v3
"expression"
→
v4
a+b/c
→
v5
util\copyto_h("v
1
")
util\copyto_h("v2","v3")
util\copyto_h("v4","v5")
EndPrgm
For this example, copyto_h() is installed in the util\ folder on the calculator, so the function calls specify
that folder. After running t(), the home screen looks like this:
7 - 8
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...