Wed, 18 Jun 1902 08:00:00 GMT
query: what is FreePtr in TP4, and...
Hi Cyb, That's from the good old days, there didn't exist garbage collectors, fowever the freelist did, the free pointer could be used to see if there is room free. The number of bytes from freepointer to the end of the heap can be used as free heap space. The free list keeps track of all disosed variables. It was a lot of work. Try not using this you've probably enough memory now! Easilly do new and dispose or getmem, freemem. Don't look at the freelist. The turbo-3 unit still exists up to tp7 so you could include the unit TURBO3. It should work then. However I have not used it for a long time. But I'm sure freemem is in. Success, Ben
|