comp.lang.ada
 help / color / mirror / Atom feed
From: "Richard Charts" <richard.charts@gmail.com>
Subject: Re: Size of objects in records with an array.
Date: 24 Oct 2006 11:06:35 -0700
Date: 2006-10-24T11:06:35-07:00	[thread overview]
Message-ID: <1161713194.952748.280790@h48g2000cwc.googlegroups.com> (raw)
In-Reply-To: <wcc1woxpph1.fsf@shell01.TheWorld.com>


Robert A Duff wrote:
> "Richard Charts" <richard.charts@gmail.com> writes:
>
> >     type Bit_Array is array ( Natural range 8..31)
> >         of boolean;
>
>     for Bit_Array'Component_Size use 1;
>
> - Bob

Bah!
So obvious.
Thank you very much.
Out of curiousity would the following lines be equivalent?
I know both compile.

for Bit_Array'Component_Size use 1;

for Bit_Array'Size use 24;




  reply	other threads:[~2006-10-24 18:06 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-24 17:48 Size of objects in records with an array Richard Charts
2006-10-24 17:56 ` Robert A Duff
2006-10-24 18:06   ` Richard Charts [this message]
2006-10-24 21:02     ` Adam Beneschan
2006-10-26 23:53     ` Robert A Duff
replies disabled

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