comp.lang.ada
 help / color / mirror / Atom feed
* How To Free Memory (Linked List)?
@ 1996-05-02  0:00 HSR Al-Dhaheri
  1996-05-03  0:00 ` Neil O'Brien
  1996-05-03  0:00 ` Paul Whittington
  0 siblings, 2 replies; 3+ messages in thread
From: HSR Al-Dhaheri @ 1996-05-02  0:00 UTC (permalink / raw)



Hi,
   Do you know how to delete all the values in a linked list at once and
how to free the memory used by it?

Thanx in advance...

     __  _________________________________
    /  ||           Hashem Al-Dhaheri
   / O ||      hashem@dhaheri.demon.co.uk
  /____||      ____     ___     ___ ___
 /     ||  -  /   //__//__//__//__ /___) /
/      ||___ /___//  //  //  //__ /   \ /




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How To Free Memory (Linked List)?
  1996-05-02  0:00 How To Free Memory (Linked List)? HSR Al-Dhaheri
  1996-05-03  0:00 ` Neil O'Brien
@ 1996-05-03  0:00 ` Paul Whittington
  1 sibling, 0 replies; 3+ messages in thread
From: Paul Whittington @ 1996-05-03  0:00 UTC (permalink / raw)



You will need to create an instance of Unchecked_Deallocation.

HSR Al-Dhaheri wrote:
> ... Do you know how to delete all the values in a linked ...




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How To Free Memory (Linked List)?
  1996-05-02  0:00 How To Free Memory (Linked List)? HSR Al-Dhaheri
@ 1996-05-03  0:00 ` Neil O'Brien
  1996-05-03  0:00 ` Paul Whittington
  1 sibling, 0 replies; 3+ messages in thread
From: Neil O'Brien @ 1996-05-03  0:00 UTC (permalink / raw)



HSR Al-Dhaheri wrote:
> 
> Hi,
>    Do you know how to delete all the values in a linked list at once and
> how to free the memory used by it?

Use unchecked_deallocation, but be aware that doing so is terminal to 
that list, you will get errors if you try to use that linked list 
afterwards.

Neil O'Brien
Thomson Software Products


> 
> Thanx in advance...
> 
>      __  _________________________________
>     /  ||           Hashem Al-Dhaheri
>    / O ||      hashem@dhaheri.demon.co.uk
>   /____||      ____     ___     ___ ___
>  /     ||  -  /   //__//__//__//__ /___) /
> /      ||___ /___//  //  //  //__ /   \ /




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1996-05-03  0:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-05-02  0:00 How To Free Memory (Linked List)? HSR Al-Dhaheri
1996-05-03  0:00 ` Neil O'Brien
1996-05-03  0:00 ` Paul Whittington

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox