comp.lang.ada
 help / color / mirror / Atom feed
From: "Randy Brukardt" <randy@rrsoftware.com>
Subject: Re: how to print position number of an enumeration variable?
Date: Tue, 2 Oct 2001 12:49:07 -0500
Date: 2001-10-02T17:47:55+00:00	[thread overview]
Message-ID: <9pcukb$td6$1@news.online-isp.com> (raw)
In-Reply-To: 3BB6BB75.D88EECE3@worldnet.att.net

"mike@nospam" wrote:
>
> but 'pos is not listed as an attribute. I am looking at page 34-36 of
the RM,
> and I do not see such attribute for scalar types (that is why I
asked), and enum
> is scalar type.
>
> strange. But thanks!


'Pos isn't defined for scalar types; it's only defined for discrete
types. (That is, it isn't defined for floats and fixed point types).
Look in 3.5.5 to find the normative definition of 'Pos.

            Randy.






  parent reply	other threads:[~2001-10-02 17:49 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-30  1:09 how to print position number of an enumeration variable? mike
2001-09-30  2:31 ` DuckE
2001-09-30  5:37   ` mike
2001-09-30  6:27     ` James Rogers
2001-09-30 12:52       ` Robert Dewar
2001-10-02 17:49       ` Randy Brukardt [this message]
2001-09-30 12:50     ` Robert Dewar
2001-09-30 13:53       ` David Botton
replies disabled

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