comp.lang.ada
 help / color / mirror / Atom feed
From: "Pat Rogers" <progers@classwide.com>
Subject: Re: Null range in a single-member enumaration. How to?
Date: Mon, 20 May 2002 13:30:00 GMT
Date: 2002-05-20T13:30:00+00:00	[thread overview]
Message-ID: <sT6G8.935$eZ2.142594119@newssvr11.news.prodigy.com> (raw)
In-Reply-To: JO3G8.1472$EZ5.227090@news.xtra.co.nz

"AG" <a_n_g@x_t_r_a.c_o.n_z> wrote in message
news:JO3G8.1472$EZ5.227090@news.xtra.co.nz...
<snip>
> type x is (a);  -- (a, b);
>
> type y is array (x'last..x'first) of boolean;  -- Works fine for (a, b); but
not (a);

Why not just

type y is array ( x ) of boolean;

???

---
Patrick Rogers                       Consulting and Training in:
http://www.classwide.com          Real-Time/OO Languages
progers@classwide.com               Hard Deadline Schedulability Analysis
(281)648-3165                                 Software Fault Tolerance






       reply	other threads:[~2002-05-20 13:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <JO3G8.1472$EZ5.227090@news.xtra.co.nz>
2002-05-20 13:30 ` Pat Rogers [this message]
2002-05-20 13:40   ` Null range in a single-member enumaration. How to? David C. Hoos
2002-05-20 14:00     ` Pat Rogers
2002-05-20 14:03     ` Pat Rogers
2002-05-20 14:00 ` Frank J. Lhota
replies disabled

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