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 #891 background imageLoading...
Page #891 background image
Appendix A: System Routines — Memory Management
849
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
HeapAvail
Declaration:
DWORD
HeapAvail
(void)
Category(ies):
Memory Management
Description:
Return the total amount of free bytes in the heap (the sum of all of the
individual blocks of memory).
Inputs:
None
Outputs:
The total number of bytes available in the heap.
Assumptions:
None
Side Effects:
None
Availability:
All versions of the TI
-
89 / TI
-
92 Plus.
TI
-
89 / TI
-
92 Plus
Differences:
None
See Also: HeapAlloc, HeapAllocThrow, HeapMax, HeapCompress
Example:
static void AP_app(pFrame self, PEvent e) {
switch (e->command) {
case CM_START:
if (HeapAvail() < 20000) {
myErrorMsg( "Not enough memory to start app" );
EV_quit();
}
break;

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