comp.lang.ada
 help / color / mirror / Atom feed
From: seas.gwu.edu!mfeldman@uunet.uu.net  (Michael Feldman)
Subject: Re: Enumerations
Date: 19 Sep 92 02:31:59 GMT	[thread overview]
Message-ID: <1992Sep19.023159.11763@seas.gwu.edu> (raw)

In article <1992Sep19.011823.15070@wdl.loral.com> mab@wdl39.wdl.loral.com (Mark
 A Biggar) writes:
>
>It was suggested early in the Ada9X effort that there should be attributes
>like 'POS and 'VAL that delt with the real stored values of enumerations.
>These were dropped as part of the Zero-budget simplifications.
>All I ment by relief was that Ada9x did not provide a more convienent method
>of dealing with the stroed values of enumeration literals then that provided
>by Ada83.
>
But I'm still puzzled. Why do you need to do this? Either you care about
the values, or you don't (depends on the application). If you don't care,
you treat the enumeration as purely abstract. If you _do_ care, you 
write a repspec, _then_ you treat the enumeration as abstract. Am I
missing something? Under what circumstances do you need to deal
directly with the stored values?

Mike Feldman

             reply	other threads:[~1992-09-19  2:31 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1992-09-19  2:31 Michael Feldman [this message]
  -- strict thread matches above, loose matches on Subject: below --
1992-09-22 14:27 Enumerations Chris Elliott
1992-09-20 22:32 Enumerations Gary Morris @pulsar
1992-09-19  1:18 Enumerations Mark A Biggar
1992-09-19  0:40 Enumerations John Goodenough
1992-09-18 17:54 Enumerations Michael Feldman
1992-09-18 15:41 Enumerations Mark A Biggar
1992-09-18  1:39 Enumerations Michael Feldman
1992-09-17 23:40 Enumerations Kevin Simonson
1992-09-17 22:26 Enumerations Darren Davenport 283-4173
1992-09-17 21:20 Enumerations david.c.willett
replies disabled

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