comp.lang.ada
 help / color / mirror / Atom feed
From: vtis0102@CACANOps.uib.es (JIMHER@yanoesladirecci�n.com)
Subject: Very basic questions about memory allocation
Date: 1999/07/30
Date: 1999-07-30T00:00:00+00:00	[thread overview]
Message-ID: <MPG.120aa15a110a18ff989940@news.bcn.ttd.net> (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)




             reply	other threads:[~1999-07-30  0:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-07-30  0:00 JIMHER@yanoesladirecci�n.com [this message]
1999-07-30  0:00 ` Very basic questions about memory allocation Frank Ecke
1999-08-01  0:00   ` JIMHER@yanoesladirecci�n.com
1999-07-31  0:00 ` tmoran
replies disabled

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