1028
Appendix A: System Routines — Symbol Table Utilities
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
ResetSymFlags
Declaration:
void
ResetSymFlags
(WORD
mask
)
Category(ies):
Symbol Table (low-level)
Description:
Reset flags on all variables in the symbol table using
mask
.
Inputs:
mask
— All flags matching mask will be reset.
See section
13.3 Managing Variables
for a list of the symbol flags.
Outputs:
None
Assumptions:
None
Side Effects:
None
Availability:
All versions of the TI
-
89 / TI
-
92 Plus.
TI
-
89 / TI
-
92 Plus
Differences:
None
See Also: SymFindFirst, SymFindNext
Example:
This is the core code in
ResetSymFlags
. It walks through every symbol in
the symbol table resetting the flags specified. The real routine also resets
some internal variables that are not in the symbol table.
SYM_ENTRY *symp;
mask = ~mask;
for(symp = SymFindFirst(NULL,FO_RECURSE); symp != NULL; symp = SymFindNext())
symp->Flags &= mask;