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, MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,b14cbbd362590ac9 X-Google-Attributes: gid103376,public From: Joe Wisniewski Subject: Re: Rep-spec question Date: 1999/11/10 Message-ID: <80clr0$etf$1@nnrp1.deja.com>#1/1 X-Deja-AN: 546997892 References: <80ck3b$deu$1@nnrp1.deja.com> <80clia$ein$1@nnrp1.deja.com> X-Http-Proxy: 1.0 x30.deja.com:80 (Squid/1.1.22) for client 192.91.146.34 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Wed Nov 10 20:50:42 1999 GMT X-MyDeja-Info: XMYDJUIDwisniew Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.61 [en]C-CCK-MCD (WinNT; U) Date: 1999-11-10T00:00:00+00:00 List-Id: In article <80clia$ein$1@nnrp1.deja.com>, Ted Dennison wrote: > In article <80ck3b$deu$1@nnrp1.deja.com>, > Joe Wisniewski wrote: > > Given the following: > > > > type Rec is > > b : boolean; > > end record; > > > > for rec use record > > b at 0 range 0..63; > > end record; > > for rec'size use 64; > > > > can any assumptions be made as to where the > > byte(s) representing the boolean are stored? > > Not unless your compiler docs say so. I'm not even sure that is required > to compile. > > If you want to put the boolean in a specific place, try using something > like: > > for rec use record > b at 1 range 5..5; -- 6th bit of second byte > end record; > for rec'size use 64; > > (This isn't guaranteed to compile either) You are not saying that is required NOT to compile. Correct? Joe > > -- > T.E.D. > > Sent via Deja.com http://www.deja.com/ > Before you buy. > Sent via Deja.com http://www.deja.com/ Before you buy.