From: "Samuel A. Mize" <smize@magellan.bgm.link.com>
Subject: Re: ObjectAda vs Gnat -- bugs
Date: 1997/05/15
Date: 1997-05-15T00:00:00+00:00 [thread overview]
Message-ID: <337B4D90.167E@magellan.bgm.link.com> (raw)
In-Reply-To: 5lf6ka$nbg@service.polymtl.ca
granger wrote:
>how can I have the enumeration values Gray* and
> Grey* of the same type or subtype with the same internal value ?
I noted in another message that enumeration literals are functions,
so he can rename them.
Another, possibly simpler option is to define constant objects with
the values you want:
type Color_Type is (Gray0);
Gray1: constant Color_Type := Gray0;
Sam Mize
-- Samuel Mize (817) 619-8622 "Team Ada"
-- Hughes Training Inc. PO Box 6171 m/s 400, Arlington TX 76005
next prev parent reply other threads:[~1997-05-15 0:00 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-05-15 0:00 ObjectAda vs Gnat -- bugs granger
1997-05-15 0:00 ` Samuel A. Mize
1997-05-15 0:00 ` Samuel A. Mize [this message]
1997-05-15 0:00 ` Stephen Leake
1997-05-16 0:00 ` Tucker Taft
1997-05-16 0:00 ` Jon S Anthony
1997-05-16 0:00 ` Tom Moran
1997-05-16 0:00 ` Robert Dewar
1997-05-17 0:00 ` Jon S Anthony
1997-05-16 0:00 ` Jon S Anthony
1997-05-15 0:00 ` Robert Dewar
1997-05-16 0:00 ` David L Brown
1997-05-16 0:00 ` Robert Dewar
1997-05-17 0:00 ` Tom Moran
1997-05-18 0:00 ` Jon S Anthony
1997-05-19 0:00 ` Tucker Taft
1997-05-19 0:00 ` Tom Moran
1997-05-16 0:00 ` Robert A Duff
1997-05-16 0:00 ` Robert Dewar
-- strict thread matches above, loose matches on Subject: below --
1997-05-16 0:00 Keith Thompson
1997-05-16 0:00 ` Robert A Duff
1997-05-16 0:00 ` Robert Dewar
1997-05-18 0:00 ` Nick Roberts
1997-05-19 0:00 ` Robert Dewar
1997-05-20 0:00 ` Nick Roberts
1997-05-21 0:00 ` Robert Dewar
1997-05-23 0:00 ` Stephen Leake
1997-05-24 0:00 ` Robert A Duff
1997-05-28 0:00 ` Stephen Leake
1997-05-30 0:00 ` Samuel Mize
1997-05-30 0:00 ` Robert A Duff
1997-05-30 0:00 ` Matthew Heaney
1997-05-31 0:00 ` Robert A Duff
1997-05-19 0:00 tmoran
1997-05-19 0:00 ` Jon S Anthony
1997-05-20 0:00 ` Jeff Carter
1997-05-20 0:00 ` Nick Roberts
1997-05-25 0:00 ` Tom Moran
1997-05-30 0:00 John Walker
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox