Important: The information in this document is obsolete and should not be used for new development.
NewPtrSys
You can use theNewPtrSysfunction to allocate a nonrelocatable block of memory of a specified size in the system heap.
FUNCTION NewPtrSys (logicalSize: Size): Ptr;
logicalSize- The requested size (in bytes) of the nonrelocatable block.
DESCRIPTION
TheNewPtrSysfunction works much as theNewPtrfunction does, but attempts to allocate the requested block in the system heap zone instead of in the current heap zone.RESULT CODES
noErr 0 No error memFullErr -108 Not enough memory