From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: non record limited type
Date: Thu, 22 Feb 2018 18:06:48 +0100
Date: 2018-02-22T18:06:48+01:00 [thread overview]
Message-ID: <p6mtbi$18ko$1@gioia.aioe.org> (raw)
In-Reply-To: p6ms3t$jqf$1@dont-email.me
On 2018-02-22 17:45, Jeffrey R. Carter wrote:
> On 02/22/2018 01:09 AM, Mehdi Saada wrote:
>> Yet, we still wonder why "type FOO is limited INTEGER" is not legal.
>> Would be useful.
>
> For what?
type Data is mod 2**16;
type Hardware_Port is limited new Data;
procedure Write (Port : Hardware_Port; Value : Data);
Output : Hardware_Port;
for Output 'Address use 16#0000_0010#;
--
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de
next prev parent reply other threads:[~2018-02-22 17:06 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-21 15:58 non record limited type Mehdi Saada
2018-02-21 21:42 ` Jere
2018-02-21 22:29 ` Mehdi Saada
2018-02-21 23:08 ` Jere
2018-02-21 23:14 ` Jere
2018-02-22 0:09 ` Mehdi Saada
2018-02-22 0:26 ` Mehdi Saada
2018-02-22 2:57 ` Jere
2018-02-22 16:45 ` Jeffrey R. Carter
2018-02-22 17:06 ` Dmitry A. Kazakov [this message]
2018-02-22 7:56 ` Simon Wright
2018-02-22 1:20 ` Randy Brukardt
2018-02-22 1:29 ` Randy Brukardt
2018-02-22 8:25 ` Dmitry A. Kazakov
2018-02-22 23:24 ` Randy Brukardt
2018-02-23 8:58 ` 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