comp.lang.ada
 help / color / mirror / Atom feed
From: stt@ada-uts
Subject: Re: enumeration literal/internal codes
Date: 12 Jan 89 15:51:00 GMT	[thread overview]
Message-ID: <57900087@ada-uts> (raw)
In-Reply-To: 1494@wayback.UUCP


Unchecked-conversion to integer is the most straightforward way to
determine the internal code used for an enumeration value.
There is some pushing for Ada9X to have an attribute function similar to
'POS which will return the internal code rather than the position
number (plus the inverse, analagous to 'VAL).

S. Tucker Taft
Intermetrics, Inc.

  parent reply	other threads:[~1989-01-12 15:51 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1989-01-09 15:25 enumeration literal/internal codes query Arny B. Engelson
1989-01-10 23:15 ` Arny B. Engelson
1989-01-13 17:03   ` Scott Moody
1989-01-16 18:03     ` Badger BA 64810
1989-01-19 19:44       ` Scott Moody
1989-01-31 18:05         ` Arny B. Engelson
1989-01-15  4:42   ` John Goodenough
1989-01-12  0:31 ` Michael Murphy
1989-01-12 15:51 ` stt [this message]
1989-01-20 15:04 ` enumeration literal/internal codes ryer
replies disabled

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