comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@merv.cs.nyu.edu (Robert Dewar)
Subject: Re: Enumeration literal visibility and use type
Date: 1998/05/27
Date: 1998-05-27T00:00:00+00:00	[thread overview]
Message-ID: <dewar.896294207@merv> (raw)
In-Reply-To: 6kelnr$ief$1@polo.advicom.net


<<state_0 : constant doodah.state_value_type := doodah.state_0;
.
.
.
state_etc : constant doodah.state_value_type := doodah.state_etc;
Anyone have a better way?
>>

Sure! Use a normal use clause on the package. If you like isolate
the type in its own package, so the scope of the use clause is
limited to the type.






  parent reply	other threads:[~1998-05-27  0:00 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-05-26  0:00 Enumeration literal visibility and use type William Bralick
1998-05-26  0:00 ` Matthew Heaney
1998-05-27  0:00   ` John McCabe
1998-05-27  0:00   ` Mats Weber
1998-05-27  0:00   ` William Bralick
1998-05-26  0:00 ` John McCabe
1998-05-26  0:00   ` David C. Hoos, Sr.
1998-05-26  0:00     ` Matthew Heaney
1998-05-27  0:00       ` John McCabe
1998-05-26  0:00     ` Ray Blaak
1998-05-27  0:00       ` John McCabe
1998-05-27  0:00         ` John McCabe
1998-05-26  0:00     ` John English
1998-05-27  0:00     ` Robert Dewar [this message]
1998-05-27  0:00       ` Matthew Heaney
1998-05-26  0:00 ` Roger Racine
     [not found] <6kej65$dnh$1@hermes.seas.smu.edu| <6kejt5$75u@gcsin3.geccs.gecm.com>
1998-05-26  0:00 ` William Bralick
1998-05-26  0:00   ` Fergus Henderson
1998-05-27  0:00     ` William Bralick
1998-05-27  0:00     ` John McCabe
1998-05-27  0:00       ` Robert Dewar
1998-05-28  0:00         ` John McCabe
1998-05-28  0:00           ` Thomas Hood
1998-05-28  0:00             ` Robert Dewar
1998-05-28  0:00           ` Robert Dewar
1998-05-29  0:00             ` John McCabe
1998-05-27  0:00       ` Peter Amey
1998-05-27  0:00         ` John McCabe
replies disabled

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