Wordinlist - Texas Instruments TI-89 Developer's Manual

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

Advertisement

Appendix A: System Routines — Utilities

WordInList

Declaration:
BOOL WordInList (WORD Match , WORD * List )
Category(ies):
Utilities
Description:
Return TRUE if Match is in List .
Inputs:
Match — WORD to search for.
Outputs:
List
Assumptions:
None
Side Effects:
None
Availability:
All versions of the TI-89 / TI-92 Plus.
TI-89 / TI-92 Plus
Differences:
None
See Also:
None
Example:
The QSysKey routine is implemented using WordInList as shown below.
static const WORD SysKeyList[] = {KB_MATH, KB_CATLG, KB_CHAR, KB_CUSTOM, 0};
BOOL
QSysKey( WORD Key )
{
return (WordInList(Key,(WORD *) SysKeyList));
}
TI-89 / TI-92 Plus Developer Guide
— Zero terminated list of WORDs to search.
Not for Distribution
1113
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