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 #898 background imageLoading...
Page #898 background image
856
Appendix A: System Routines — Memory Management
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
HeapMax
Declaration:
DWORD
HeapMax
(void)
Category(ies):
Memory Management
Description:
Return the largest block of memory available to allocate (calls
HeapCompress
first).
Inputs:
None
Outputs:
The largest block of memory that may be allocated with one of the heap
allocation routines (like
HeapAlloc
,
HeapAllocThrow
, . . . ). This will be in
the range 0 . . . 65520.
Assumptions:
None
Side Effects:
Compresses the heap.
Availability:
All versions of the TI
-
89 / TI
-
92 Plus.
TI
-
89 / TI
-
92 Plus
Differences:
None
See Also: HeapAlloc, HeapAllocThrow, HeapAvail, HeapCompress
Example:
if (HeapMax() < 20000) {
myErrorMsg( "NOT enough memory to allocate large array" );
return FALSE;
}

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