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 #1147 background imageLoading...
Page #1147 background image
Appendix A: System Routines — Utilities
1105
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
KB_89
Declaration:
USHORT
KB_89
(USHORT
ch
)
Category(ies):
Utilities
Description:
Translates TI
-
92 Plus keys to TI
-
89 keys.
If this routine is running on a TI
-
89, then
ch
is returned unchanged. If this
routine is running on a TI
-
92 Plus, the cursor arrow key codes are
translated into TI
-
89 cursor arrow key codes.
This routine is useful for writing one source to run on both platforms.
Inputs:
ch
Character from the CM_KEY_PRESS event or the
ngetchx
routine.
Outputs:
Returns translated character.
Assumptions:
None
Side Effects:
None
Availability:
All versions of the TI
-
89 / TI
-
92 Plus.
TI
-
89 / TI
-
92 Plus
Differences:
None
See Also:
Not applicable.
Example:
switch (event->command)
{
USHORT key;
.
.
.
case CM_KEY_PRESS:
key = KB_89(event->info.keyInfo.keyCode);
/* process translated key press */
.
.
.
}

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