EasyManuals Logo
Home>Texas Instruments>Calculator>TI-92+

Texas Instruments TI-92+ User Manual

Texas Instruments TI-92+
507 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #297 background imageLoading...
Page #297 background image
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([name1[,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 v1,v2,v3,v4,v5
1.224v1
"Label 1"v2
2.222v3
"expression"v4
a+b/cv5
util\copyto_h("v1")
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

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments TI-92+ and is the answer not in the manual?

Texas Instruments TI-92+ Specifications

General IconGeneral
BrandTexas Instruments
ModelTI-92+
CategoryCalculator
LanguageEnglish

Related product manuals