comp.lang.ada
 help / color / mirror / Atom feed
From: Jeffrey Carter <spam@spam.com>
Subject: Re: Task entries and access to subprograms.
Date: Thu, 07 Apr 2005 02:05:12 GMT
Date: 2005-04-07T02:05:12+00:00	[thread overview]
Message-ID: <sz05e.2222$yq6.1165@newsread3.news.pas.earthlink.net> (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?

This was legal in Ada 83, and that wasn't changed by Ada 95.

>    entry Four (C : Code); -- No complaint.

There's a difference between access parameters and parameters of an 
access type.

-- 
Jeff Carter
"If you don't get the President of the United States on that
phone, ... you're going to have to answer to the Coca-Cola
Company."
Dr. Strangelove
32



  parent reply	other threads:[~2005-04-07  2:05 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
2005-04-06 12:06 ` Dmitry A. Kazakov
2005-04-06 12:22   ` Alex R. Mosteo
2005-04-07  2:05 ` Jeffrey Carter [this message]
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