comp.lang.ada
 help / color / mirror / Atom feed
From: cis.ohio-state.edu!magnus.acs.ohio-state.edu!math.ohio-state.edu!howland.
Subject: Retrieving Rep Spec'ed Enumeration Values
Date: 28 Jun 93 20:47:49 GMT	[thread overview]
Message-ID: <SANDY.93Jun28134749@beeker.cs.umass.edu> (raw)

Help!

Suppose you had a type like so:

  type Color is ( Red, Green, Blue );
  for Color use
    ( Red   => 4,
      Green => 8,
      Blue  => 16 );

I cannot seem to find a portable way to retrieve the values assigned
in the rep-spec.  Color'Pos is explicitly defined to be unaffected by
the rep spec (LRM 13.3 paragraph 6).
        /s
--
Alexander Erskine Wise /\/\/\/\/\/\/\/\/\/\/\/\ Software Development Laboratory
/\/\/\/\/\/\/\/\/\/\/\/\/\/\ WISE@CS.UMASS.EDU /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
\/\/\ This situation calls for large amounts of unadulterated CHOCOLATE! /\/\/\

             reply	other threads:[~1993-06-28 20:47 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1993-06-28 20:47 cis.ohio-state.edu!magnus.acs.ohio-state.edu!math.ohio-state.edu!howland. [this message]
  -- strict thread matches above, loose matches on Subject: below --
1993-06-28 20:58 Retrieving Rep Spec'ed Enumeration Values Mark A Biggar
1993-06-29 16:39 agate!howland.reston.ans.net!noc.near.net!nic.umass.edu!ymir.cs.umass.edu
1993-06-29 17:44 Dave Bashford
1993-06-29 20:25 Gene Ouye
1993-06-29 21:05 David Emery
replies disabled

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