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