comp.lang.ada
 help / color / mirror / Atom feed
* Very basic questions about memory allocation
@ 1999-07-30  0:00 JIMHER@yanoesladirecci�n.com
  1999-07-30  0:00 ` Frank Ecke
  1999-07-31  0:00 ` tmoran
  0 siblings, 2 replies; 4+ messages in thread
From: JIMHER@yanoesladirecci�n.com @ 1999-07-30  0:00 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 600 bytes --]

I'm starting to work in ADA, but i've found some problems. The principal 
one is that I son't know how to free memory previously allocated with:

type t is ....
...
v:access t;
begin
	v:=new t;
end;


I've tried 'free(v)', 'delete v' and others, but they don't work. I use 
to program in C, and I only want an equivalent to 'free(v)'. I know that 
this is a very trivial question (with a very trivial solution I suppose), 
but is very frustrating.

If it helps, I'm using GNAT for windows.

Thanks in advance
-- 
Jes�s Jim�nez Herranz
vtis0102@CACANOps.uib.es
(Remove CACANO from the address)




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

end of thread, other threads:[~1999-08-01  0:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-07-30  0:00 Very basic questions about memory allocation JIMHER@yanoesladirecci�n.com
1999-07-30  0:00 ` Frank Ecke
1999-08-01  0:00   ` JIMHER@yanoesladirecci�n.com
1999-07-31  0:00 ` tmoran

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