From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.5-pre1 Date: 28 Jun 93 20:47:49 GMT From: cis.ohio-state.edu!magnus.acs.ohio-state.edu!math.ohio-state.edu!howland. reston.ans.net!noc.near.net!nic.umass.edu!ymir.cs.umass.edu!rcfnews!sandy@ucbva x.Berkeley.EDU (Sandy Wise) Subject: Retrieving Rep Spec'ed Enumeration Values Message-ID: List-Id: 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! /\/\/\