Subject: | |
From: | |
Reply To: | |
Date: | Wed, 12 Jun 1996 12:14:32 MESZ |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Stan Sieler wrote:
>
> BTW, the one of the Pascal manuals points out (somewhere) that dispose()
> isn't useful unless you've compiled with some option like $HEAPDISPOSE ON$
> (or something like that...sorry I don't recall for sure, but I don't
> have the manuals handy, and scanning 185,745 lines of my own Pascal source
> shows not a single instance of new or dispose, so I can't check an example.
>
Here's the explanation from the HP Pascal/iX Reference manual:
HEAP_DISPOSE
HEAP_DISPOSE is an HP Pascal Option.
When the HEAP_DISPOSE compiler option is ON, the predefined procedure
dispose frees space in the heap so that the predefined procedure new can
reallocate it. By default, such disposed space cannot be reused.
and another interesting one:
HEAP_COMPACT
HEAP_COMPACT is an HP Pascal Option.
When the HEAP_COMPACT compiler option is ON (and the HEAP_DISPOSE option
is also ON), free space in the heap is concatenated when the predefined
procedure dispose is called.
Roman
=========================================================================
* Roman Sallin Tel +41 (0)31 9810666 *
* SWS SoftWare Systems AG Fax +41 (0)31 9813263 *
* Freiburgstr. 634 E-Mail [log in to unmask] *
* CH - 3172 Niederwangen *
=========================================================================
|
|
|