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 #1172 background imageLoading...
Page #1172 background image
1130
Appendix A: System Routines — Variables
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
cmd_archive
Declaration:
void
cmd_archive
(EStackIndex
ePtr
)
Category(ies):
Variables
Description:
Archive one or more variables. This is the TI
-
BASIC archive command.
Inputs:
ePtr
EStackIndex of variable name(s) to archive (terminated by an
END_TAG).
Outputs:
May throw these errors:
ER_RESERVED Reserved names may not be archived.
ER_UNDEFINED_VAR Variable not found.
ER_VAR_IN_USE Variable in use.
ER_INVALID_VAR_REF Cannot archive local variables.
ER_MEMORY Not enough memory (Flash).
Assumptions:
None
Side Effects:
May cause heap compression.
Availability:
On AMS 2.00 and higher.
TI-89 / TI-92 Plus
Differences:
None
See Also: cmd_unarchiv
Example:
This function archives or unarchives a variable passed as a string name.
BOOL ArchiveVar( char *szBuf, BOOL archive )
{ Access_AMS_Global_Variables;
EStackIndex oldTop;
oldTop = top_estack;
TRY
push_quantum( END_TAG );
if (TokenizeSymName( (BYTE *) szBuf, 0 ) == NULL)
ER_THROW( INVALID_PATHNAME_ERROR );
archive ? cmd_archive( top_estack ) : cmd_unarchiv( top_estack );
ONERR
top_estack = oldTop;
ERD_dialog( errCode, FALSE );
return FALSE;
ENDTRY
top_estack = oldTop;
return(TRUE);
}

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