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

> I suspect your message read "av actual ...". The parameter av is mode in
> out, which means Do_S may modify it. You can't change
> at'unchecked_access, because then it wouldn't be at'unchecked_access any
> more. Unless you have "av := ...;" in Do_S, why not just make it mode
> in?

I'll try that.  I'm a little confused though.

(let's change the name "at" to al_t, i quickly wrote down the example with short
identifiers of which at happened to appear, i know it's a reserved word!  i was
tired)

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?


Chris





  reply	other threads:[~2001-05-26 16:48 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 [this message]
2001-05-26 17:17     ` Jeffrey Carter
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