Important: The information in this document is obsolete and should not be used for new development.
Allocating and Releasing Nonrelocatable Blocks of Memory
You can use theNewPtrfunction to allocate a nonrelocatable block of memory. If you want to allocate new blocks of memory in the system heap or with their bits precleared to 0, you can use theNewPtrSys,NewPtrClear, andNewPtrSysClearfunctions.
You can use the
- WARNING
- You should not call any of these memory-allocation routines at
interrupt time.![]()
DisposePtrprocedure to free nonrelocatable blocks of memory you have allocated.
Subtopics
- NewPtr
- NewPtrSys
- NewPtrClear
- NewPtrSysClear
- DisposePtr