NewPtrSysClear
NewPtrSysClear
Allocate an empty nonrelocatable block of memory on the system heap
Size theSize ; desired allocation, in bytes (a 32-bit value) returns address of allocated block; NIL if error
like NewPtr, except that it uses the system heap to perform the allocation and it fills the allocated space with zero (0).
theSize specifies how much memory you wish to allocate. It must be less
than 16M (a 24-bit value).
Returns: a Ptr; the address of the allocated space or NIL (0) if there wasn't room in the heap zone for the allocation. The MemError function noErr (0) No error
memFullErr (-108) No room in heap
Notes: See NewPtr for more information.