Oscheckbreak - Texas Instruments TI-89 Developer's Manual

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

Advertisement

644

OSCheckBreak

Declaration:
WORD OSCheckBreak (void)
Category(ies):
Keyboard
Description:
Test the break flag.
Inputs:
None
True if the ´ key was pressed with break enabled, false otherwise.
Outputs:
Assumptions:
None
The ´ key is tied to a high level interrupt (level 6), and is used on the
Side Effects:
calculator as a "break" key to allow the user to interrupt the current flow of
activity. This call returns true and clears all pending keys from the key
queue if the ´ key has been pressed at least once since the last call to
OSClearBreak.
Availability:
All versions of the TI-89 / TI-92 Plus.
TI-89 / TI-92 Plus
None
Differences:
See Also:
OSOnBreak, OSClearBreak, OSEnableBreak, OSDisableBreak
Example:
while (! OSCheckBreak())
i++;
TI-89 / TI-92 Plus Developer Guide
Appendix A: System Routines — Keyboard
/* increment i until ON key is pressed */
Not for Distribution
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