comp.lang.ada
 help / color / mirror / Atom feed
From: Jeffrey Carter <jrcarter@acm.org>
Subject: Re: access types and head pains
Date: Sat, 26 May 2001 17:17:48 GMT
Date: 2001-05-26T17:17:48+00:00	[thread overview]
Message-ID: <3B0FE52F.8ECF7964@acm.org> (raw)
In-Reply-To: 27RP6.961$lm5.257939@news6-win.server.ntlworld.com

"chris.danx" wrote:
> 
> a_ac    is a general access type
> 
> if av has mode "in" then how can i modify the fields of the record.  surely this
> would be dissallowed or does it mean you can't modify it's existance/null status
> but can modify it's data?

Given

Av : in A_Ac

you can't modify Av; within the subprogram Av is a constant. You can,
however, modify the value designated by Av (Av.all); since A_Ac is not
"access constant", Av.all is not a constant.

-- 
Jeff Carter
"You tiny-brained wipers of other people's bottoms!"
Monty Python & the Holy Grail



  reply	other threads:[~2001-05-26 17:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-25 23:59 access types and head pains chris.danx
2001-05-26  4:39 ` Jeffrey Carter
2001-05-26 16:48   ` chris.danx
2001-05-26 17:17     ` Jeffrey Carter [this message]
2001-05-26 17:31       ` chris.danx
replies disabled

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