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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,fd173879a595bde X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!g14g2000cwa.googlegroups.com!not-for-mail From: "Britt Snodgrass" Newsgroups: comp.lang.ada Subject: Re: Default rep specs for record types - documented?? Date: 4 Nov 2005 12:07:20 -0800 Organization: http://groups.google.com Message-ID: <1131134840.731166.59420@g14g2000cwa.googlegroups.com> References: <12d68$436b7143$499545a$1561@ALLTEL.NET> <436bb77f$0$7428$9b4e6d93@newsread4.arcor-online.net> NNTP-Posting-Host: 205.175.225.5 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1131134847 21375 127.0.0.1 (4 Nov 2005 20:07:27 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 4 Nov 2005 20:07:27 +0000 (UTC) User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1),gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: g14g2000cwa.googlegroups.com; posting-host=205.175.225.5; posting-account=iQEqXQ0AAACqS3Ok4UXIuHodYg1uri3K Xref: g2news1.google.com comp.lang.ada:6214 Date: 2005-11-04T12:07:20-08:00 List-Id: I've sometimes thought it would be good to just make the record representation an optional part of the declaration, e.g. type Record_Type is record Field_0 : Integer_16 at 0 range 0 .. 15; Field_1 : Integer_32 at 0 range 16 .. 47; Field_2 : Integer_64 at 0 range 48 .. 111; end record; I'm sure there are drawbacks but it seems less error prone and less verbose. -- Britt