comp.lang.ada
 help / color / mirror / Atom feed
From: mheaney@ni.net (Matthew Heaney)
Subject: Re: Rep Clause Vaues??
Date: 1997/01/26
Date: 1997-01-26T00:00:00+00:00	[thread overview]
Message-ID: <mheaney-ya023280002601971435040001@news.ni.net> (raw)
In-Reply-To: dewar.854213652@merv


In article <dewar.854213652@merv>, dewar@merv.cs.nyu.edu (Robert Dewar) wrote:


>"What method can I use to get back the bit pattern or integer
>value represented by the enumerated type?  All my attempts at
>type conversion and pos/val attributes have failed."
>
>2) if you are using GNAT, check out the 'Enum_Rep attribute, which does
>        exactly what you want.

I'm curious, why didn't you name the attribute just 'Rep, rather than 'Enum_Rep?

--------------------------------------------------------------------
Matthew Heaney
Software Development Consultant
<mailto:matthew_heaney@acm.org>
(818) 985-1271




  reply	other threads:[~1997-01-26  0:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-01-22  0:00 Rep Clause Vaues?? Robert B. Love 
1997-01-22  0:00 ` Samuel Tardieu
1997-01-22  0:00 ` David C. Hoos, Sr.
1997-01-24  0:00   ` Robert A Duff
1997-01-25  0:00 ` Robert Dewar
1997-01-26  0:00   ` Matthew Heaney [this message]
1997-01-26  0:00     ` Robert Dewar
replies disabled

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