comp.lang.ada
 help / color / mirror / Atom feed
From: Ted Dennison <dennison@telepath.com>
Subject: Re: Binary files vs Portablity vs Ada
Date: 1999/11/09
Date: 1999-11-09T00:00:00+00:00	[thread overview]
Message-ID: <809an9$trk$1@nnrp1.deja.com> (raw)
In-Reply-To: 3826FD9C.37446C29@callnetuk.com

In article <3826FD9C.37446C29@callnetuk.com>,
  Nick Roberts <nickroberts@callnetuk.com> 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.




  reply	other threads:[~1999-11-09  0:00 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-11-04  0:00 Binary files vs Portablity vs Ada John Halleck
1999-11-05  0:00 ` Matthew Heaney
1999-11-05  0:00 ` Larry Kilgallen
1999-11-05  0:00   ` John Halleck
1999-11-05  0:00 ` Robert Dewar
1999-11-05  0:00   ` Ted Dennison
1999-11-06  0:00     ` Robert Dewar
1999-11-08  0:00       ` Ted Dennison
1999-11-08  0:00         ` Tucker Taft
1999-11-09  0:00           ` Robert Dewar
1999-11-09  0:00         ` Robert A Duff
1999-11-09  0:00           ` Advice, or *Advice*? (was: Binary files vs Portablity vs Ada) Ted Dennison
1999-11-10  0:00             ` Robert A Duff
1999-11-09  0:00         ` Binary files vs Portablity vs Ada Robert Dewar
1999-11-08  0:00 ` Nick Roberts
1999-11-09  0:00   ` Ted Dennison [this message]
1999-11-09  0:00   ` Robert Dewar
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox