EasyManuals Logo
Home>Texas Instruments>Calculator>TI-89

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 #1325 background imageLoading...
Page #1325 background image
Appendix C: Macros — Character Classification / Conversion
1283
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
isprint
Declaration:
BYTE
isprint
(BYTE
c
)
Category(ies):
Character Classification / Conversion
Description:
Return non-zero (true) if the given character is a printable character. The
only non-printable characters are the codes 0 . . . 0xA, and 0xC, 0xD.
Inputs:
c
Character to test.
Outputs:
Non-zero if
c
is a printable character, zero otherwise.
Assumptions:
Access_AMS_Global_Variables is defined.
Side Effects:
None
Availability:
AMS 2.00 or above.
TI
-
89 / TI
-
92 Plus
Differences:
None
See Also:
Example:
The text-draw menu function in the grapher uses
isprint
to determine
which characters can be displayed on the graph screen as shown below.
WORD inKey;
.
.
.
/* inKey is the key-code for the key pressed by the user */
if (inKey < 0xFF && isprint(inKey)) {
WinAttr( w, A_REPLACE );
WinCharXY( w, x, y, (char) inKey, 1 );
.
.
.

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