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,1e67a7db835cf5a8 X-Google-Attributes: gid103376,public From: Ted Dennison Subject: Re: Binary files vs Portablity vs Ada Date: 1999/11/09 Message-ID: <809an9$trk$1@nnrp1.deja.com>#1/1 X-Deja-AN: 546433319 References: <7vt67r$qv0$1@coward.ks.cc.utah.edu> <3826FD9C.37446C29@callnetuk.com> X-Http-Proxy: 1.0 x36.deja.com:80 (Squid/1.1.22) for client 204.48.27.130 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Tue Nov 09 14:22:37 1999 GMT X-MyDeja-Info: XMYDJUIDtedennison Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.6 [en] (WinNT; I) Date: 1999-11-09T00:00:00+00:00 List-Id: In article <3826FD9C.37446C29@callnetuk.com>, Nick Roberts wrote: > but possibly another suggestion for the next Ada revision might be two > new predefined types: > > type Bit_Integer is mod 2; > > type Bit_Array is array (Natural range <>) of Bit_Integer; > > and then a new conversion introduced between Bit_Array (or types derived > from it) and any mod type whose modulus was a power of two (and > static?). This conversion would stipulate that the bit with the lowest > index (in the array) was the bit with the least significance (in the > integer). Why a one bit integer, as opposed to a boolean array? -- T.E.D. Sent via Deja.com http://www.deja.com/ Before you buy.