Qsysprotected - Texas Instruments TI-89 Developer's Manual

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

Advertisement

Appendix A: System Routines — Data Utilities

QSysProtected

Declaration:
BOOL QSysProtected (BYTE Tag )
Category(ies):
Data Utilities
Description:
Return TRUE if the given Tag is for a system protected data type.
Inputs:
Tag — Tag byte.
Outputs:
TRUE if Tag is that for a function, program, data-var, graph database,
picture, text, assembly language program, or third-party data tag (which
includes files).
Assumptions:
None
Side Effects:
None
Availability:
All versions of the TI-89 / TI-92 Plus.
TI-89 / TI-92 Plus
Differences:
None
See Also:
GetDataType
Example:
/* Given a pointer to a variable name (CAS format, points to zero byte
terminator), return TRUE if O.K. to write to it
*/
getVarType( BYTE *varNamePtr ) {
HSYM hsym;
SYM_ENTRY *SymPtr;
if (hsym = VarRecall( varNamePtr, 0)) {
SymPtr = DerefSym( hsym );
return( !QSysProtected( * HToESI(SymPtr->hVal) ));
}
else
return TRUE;
}
TI-89 / TI-92 Plus Developer Guide
Not for Distribution
341
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