EasyManuals Logo

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 #1065 background imageLoading...
Page #1065 background image
Appendix A: System Routines — Symbol Table Utilities
1023
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
HSymDel
(continued)
Example:
/* Clear the single letter variables (A . . . Z) in the current folder and
return the number that could not be deleted.
*/
short clearAtoZ( void )
{ HSYM hSym;
SYM_ENTRY *pSym;
short nLeft;
BYTE symbol[] = {0, 0, 0};
for (nLeft=26, symbol[1] = 'a'; symbol[1] <= 'z'; symbol[1]++) {
if (H_NULL == (hSym = SymFind(symbol+2))) /* lookup var in current folder */
nLeft--; /* not found if HSYM is NULL */
else {
pSym = DerefSym(hSym); /* HSymDel does not check LOCKED, IN-USE flags */
if ((pSym->Flags & (SF_LOCK|SF_INUSE)) == 0) {
TRY
HSymDel(hSym); /* delete it */
nLeft--;
ONERR
ENDTRY
}
}
}
return nLeft;
}

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