From: "Ehud Lamm" <mslamm@mscc.huji.ac.il>
Subject: Re: Access in parameters
Date: Fri, 5 Jan 2001 16:51:38 +0200
Date: 2001-01-05T16:51:38+02:00 [thread overview]
Message-ID: <934n6q$9nt$1@news.huji.ac.il> (raw)
In-Reply-To: 877l4acdyj.fsf@deneb.enyo.de
Compare to the definition here:
package You_cant_change_it is
type Int_P is access constant Integer;
X:constant Int_P;
procedure p;
private
Y:aliased integer:=10;
X:constant Int_P:=Y'access;
end;
(The body however can offer surprises:
package body You_cant_change_it is
-------
-- p --
-------
procedure p is
begin
Y:=Y+1;
end p;
end You_cant_change_it;
)
--
Ehud Lamm mslamm@mscc.huji.ac.il
prev parent reply other threads:[~2001-01-05 14:51 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-01-05 11:49 Access in parameters Sandro Binetti
2001-01-05 7:27 ` lafortg
2001-01-05 12:39 ` n_brunot
2001-01-05 13:42 ` Florian Weimer
2001-01-05 14:51 ` Ehud Lamm [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox