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,b3edde39ad90f1b7 X-Google-Attributes: gid103376,public From: Ted Dennison Subject: Re: Representation clauses and streams Date: 1999/12/29 Message-ID: <386A3C20.31A06016@telepath.com>#1/1 X-Deja-AN: 566156317 Content-Transfer-Encoding: 7bit References: X-Accept-Language: en,pdf Content-Type: text/plain; charset=us-ascii X-Complaints-To: Abuse Role , We Care X-Trace: newshog.newsread.com 946486082 216.14.8.33 (Wed, 29 Dec 1999 11:48:02 EST) Organization: Telepath Systems (telepath.com) MIME-Version: 1.0 NNTP-Posting-Date: Wed, 29 Dec 1999 11:48:02 EST Newsgroups: comp.lang.ada Date: 1999-12-29T00:00:00+00:00 List-Id: Florian Weimer wrote: > types as well (at least by GNAT 3.12p on x86). For example, the type > > Bits_Per_Octet : constant := 8; > > type One_Octet_Type is range 0 .. 2**(1*Bits_Per_Octet) - 1; > for One_Octet_Type'Size use Bits_Per_Octet; > > is written as a two-octet value to a stream (Stream_Element'Size is, Hmm. I'm curious what would happen if you changed that type to a modular type of the same range. -- T.E.D. Home - mailto:dennison@telepath.com WWW - http://www.telepath.com/dennison/Ted/TED.html