comp.lang.ada
 help / color / mirror / Atom feed
From: dweller@dfw.net (David Weller)
Subject: Re: Type qualification & entry calls - can they mix?
Date: 1996/08/30
Date: 1996-08-30T00:00:00+00:00	[thread overview]
Message-ID: <506m8l$9kb@dfw.dfw.net> (raw)
In-Reply-To: 503itr$aij@goanna.cs.rmit.edu.au


In article <503itr$aij@goanna.cs.rmit.edu.au>,
Dale Stanbrough  <dale@goanna.cs.rmit.edu.au> wrote:
>Consider the following...
>	protected type fred is
>		entry a;
>	end fred;
>	type list is array(1..10) of fred;
>	prots :list;
>Then should the following be legal?
>	list'(prots(1)).a;
>

I believe you meant:

	fred'(prots(1)).a;

But I'm not sure why type qualification would even
be necessary in this case.

-- 
    Visit the Ada 95 Booch Components Homepage: www.ocsystems.com/booch
           This is not your father's Ada -- lglwww.epfl.ch/Ada




      parent reply	other threads:[~1996-08-30  0:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-08-29  0:00 Type qualification & entry calls - can they mix? Dale Stanbrough
1996-08-29  0:00 ` Dale Stanbrough
1996-08-30  0:00   ` Robert A Duff
1996-08-30  0:00 ` David Weller [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