From: bobduff@world.std.com (Robert A Duff)
Subject: Re: help - bit twiddling anomoly
Date: 1996/05/11
Date: 1996-05-11T00:00:00+00:00 [thread overview]
Message-ID: <Dr7uv0.63z@world.std.com> (raw)
In-Reply-To: 3193C6C3.7FEC@ccgate.hac.com
In article <3193C6C3.7FEC@ccgate.hac.com>,
Dave Wright <wdwright@ccgate.hac.com> wrote:
>Any ideas why the following code behaves strangely ...
Because it's not indented properly.
>type onebit is record
>bit1: integer range 0..1;
>end record;
>for onebit'size use 1;
>pragma bit_pack(onebit);
>
>type fourteenbit is record
>value: integer range 0..16383;
>end record;
>for fourteenbit'size use 14;
>...
:-) / 2
- Bob
next prev parent reply other threads:[~1996-05-11 0:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-05-10 0:00 help - bit twiddling anomoly Dave Wright
1996-05-11 0:00 ` Robert A Duff [this message]
1996-05-11 0:00 ` Theodore E. Dennison
1996-05-13 0:00 ` Kirk Davis
1996-05-13 0:00 ` Marc Bouvette
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox