EasyManuals Logo
Home>Texas Instruments>Calculator>TI-89

Texas Instruments TI-89 Developer's Guide

Texas Instruments TI-89
1398 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 #404 background imageLoading...
Page #404 background image
362
Appendix A: System Routines — Dialog
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
VarSaveAs
Declaration:
HSYM
VarSaveAs
(BYTE *
Types
, BYTE *
Current
,
{, BYTE *
subTypeList
[ ]})
Category(ies):
Dialog, Variables
Description:
Creates a standard SAVE COPY OF [
Current
] AS dialog box (go to the
Program Editor and do a F1, 2 (Save Copy As . . . ) as an example). The
user may select from a list of types to save as well as the folder to save the
symbol in and finally is presented with an edit box to enter the symbol
name.
Inputs:
Types
An array, terminated by zero, of the following types:
GDB_VAR_TAG, PIC_VAR_TAG, TEXT_VAR_TAG,
DATA_VAR_TAG, MATRIX_TAG, LIST_TAG,
FUNC_BEGIN_TAG, PRGM_TAG, STR_DATA_TAG,
EQUATION_TAG, GEN_DATA_TAG. Each value in the
Types
list will be presented to the user in a drop-down
(unless there is only one value in the list then it will be a
static field).
Current
A string pointer to a string that will be placed in the title
of the dialog box (NULL if no title wanted).
subTypeList
(optional)
For each GEN_DATA_TAG byte in the
Types
list, there
must be a string pointer in the
subTypeList
that points to
the text to display in the drop down. This parameter may
be left off if there are no GEN_DATA_TAGs in the
Types
list.
Outputs:
The HSYM of the newly created symbol or H_NULL if the user presses
N
or there is an error creating the symbol.
Assumptions:
None
Side Effects:
May cause heap compression.
The first WORD in the global array,
VarOptList
, is set to the index of the
type selected when
Types
contains multiple values. It will be one if the first
entry was selected, two for the second entry, and so on. See the example
below.
VarOptList
is available on AMS 2.00 and higher.
Availability:
All versions of the TI
-
89 / TI
-
92 Plus.
TI
-
89 / TI
-
92 Plus
Differences:
None
See Also: VarNew, VarOpen
Example:
See
VarNew
.

Table of Contents

Other manuals for Texas Instruments TI-89

Questions and Answers:

Question and Answer IconNeed help?

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

Texas Instruments TI-89 Specifications

General IconGeneral
Display size (HxV)100 x 160 mm
Memory type639K FLASH ROM, 188K bytes RAM
Compatible operating systemsOperating System 2.09
Battery typeAAA

Related product manuals