From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,c532be6870ab0c33,start X-Google-Attributes: gid103376,public From: steve.folly@rdel.co.uk (Steve Folly) Subject: Enumerations and rep-clauses? Date: 2000/02/28 Message-ID: <38ba8b87.252446008@news.rrds.co.uk>#1/1 X-Deja-AN: 590871753 X-Complaints-To: postmaster@rdel.co.uk X-Trace: rdel.co.uk 951749755 25917 172.16.115.146 (28 Feb 2000 14:55:55 GMT) Organization: RDEL NNTP-Posting-Date: 28 Feb 2000 14:55:55 GMT Newsgroups: comp.lang.ada Date: 2000-02-28T14:55:55+00:00 List-Id: Hi, Given the following Ada95 situation... type enum is ( a, b, c, d ); for enum use ( a => 12, b => 24, c => 36, d => 48 ); subtype half_enum is enum range a .. b; Is it guaranteed anywhere that half_enum has the same representation attributes as enum? (ie. half_enum(a) => 12 and half_enum(b) => 24) I would hope it did, but I'm having trouble finding the particular LRM paragraph. Thanks for your help. -- Regards, Steve Folly. mailto:Steve.Folly@rdel.co.uk