Foldercount - Texas Instruments TI-89 Developer's Manual

Graphing calculator
Hide thumbs Also See for TI-89:
Table of Contents

Advertisement

1014

FolderCount

Declaration:
WORD FolderCount (const SYM_ENTRY * SymPtr )
Category(ies):
Symbol Table Utilities (low-level)
Description:
Return number of used entries in a folder.
Inputs:
SymPtr — SYM_ENTRY pointer to a folder.
Outputs:
Number of used symbol table entries in that folder.
Assumptions:
None
Side Effects:
None
Availability:
All versions of the TI-89 / TI-92 Plus.
TI-89 / TI-92 Plus
None
Differences:
See Also:
DerefSym, FolderFind, SymFindHome
Example:
void DISP( char *str, WORD v ) {
char buf[255];
sprintf(buf, str, v );
DlgNotice( NULL, buf );
}
BYTE mainFold[] = {0,'m','a','i','n',0};
HSYM hsym;
/* All folders, including main, are in the HOME folder. MAIN can never be deleted so
hsym will never be NULL in this example.
*/
if (hsym = SymFindHome( mainFold+5 ))
DISP( "%d symbols in main", FolderCount( DerefSym( hsym ) ) );
TI-89 / TI-92 Plus Developer Guide
Appendix A: System Routines — Symbol Table Utilities
Not for Distribution
Beta Version January 26, 2001

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ti-92 plusTi-92 plus

Table of Contents