comp.lang.ada
 help / color / mirror / Atom feed
From: Adrien Plisson <aplisson-news@stochastique.net>
Subject: Re: Task entries and access to subprograms.
Date: Wed, 06 Apr 2005 12:54:12 +0200
Date: 2005-04-06T12:54:12+02:00	[thread overview]
Message-ID: <4253bfd4$0$30162$ba620e4c@news.skynet.be> (raw)
In-Reply-To: <4253B917.5070800@mailinator.com>

Alex R. Mosteo wrote:
[...]
> type AInt is access all Integer;
> type Code is access procedure;
[...]
>    entry Two (I : AInt); -- No complaint. Legal?
[...]
>    entry Four (C : Code); -- No complaint.
[...]
> 
> I'm interested in your oppinion about the second and fourth entries 
> above, and in other alternatives to the tagged type workaround.

entry Two and Four are passed "in" parameters of type "access 
something" (which is NOT an anonymous access type). so it seems legal.

-- 
rien



  reply	other threads:[~2005-04-06 10:54 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-06 10:25 Task entries and access to subprograms Alex R. Mosteo
2005-04-06 10:54 ` Adrien Plisson [this message]
2005-04-06 12:06 ` Dmitry A. Kazakov
2005-04-06 12:22   ` Alex R. Mosteo
2005-04-07  2:05 ` Jeffrey Carter
2005-04-07  7:23   ` Alex R. Mosteo
2005-04-07 14:01     ` Robert A Duff
2005-04-07 23:23     ` Randy Brukardt
2005-04-08  6:49       ` Alex R. Mosteo
2005-04-08 14:49         ` Robert A Duff
2005-04-08 15:23           ` Dmitry A. Kazakov
replies disabled

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