comp.lang.ada
 help / color / mirror / Atom feed
From: "James E. Hopper" <hopperj@macconnect.com>
Subject: Re: array size
Date: 1999/12/11
Date: 1999-12-11T00:00:00+00:00	[thread overview]
Message-ID: <111219991626304637%hopperj@macconnect.com> (raw)
In-Reply-To: 82to3s$ng7$1@nnrp1.deja.com

Robert, i am confused.  whey would 

 Preset_Array_Type_Size : constant := 6 * Frequency_Type'Size;

be illegal in this context? 

thanks jim

------------

In article <82to3s$ng7$1@nnrp1.deja.com>, Robert Dewar
<robert_dewar@my-deja.com> wrote:

> > Always do this for composite types:
> >
> >   Preset_Array_Type_Size : constant := 6 *
> Frequency_Type'Size;
> >   for Preset_Array_Type'Size use Preset_Array_Type_Size;
> 
> 
> This is incomprehensible advice, these are obviously equivalent.
> Both will of course be illegal if Frequency_Type'Size is not
> static ... Matthew what are you trying to say here?




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

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-12-10  0:00 array size James E. Hopper
1999-12-10  0:00 ` Matthew Heaney
1999-12-11  0:00   ` Robert Dewar
1999-12-11  0:00     ` Matthew Heaney
1999-12-13  0:00       ` Robert A Duff
1999-12-11  0:00     ` Robert A Duff
1999-12-11  0:00       ` Matthew Heaney
1999-12-11  0:00     ` James E. Hopper [this message]
1999-12-12  0:00       ` Matthew Heaney
1999-12-11  0:00   ` James E. Hopper
1999-12-11  0:00 ` DuckE
1999-12-11  0:00   ` James E. Hopper
1999-12-11  0:00     ` DuckE
1999-12-12  0:00       ` James E. Hopper
1999-12-12  0:00       ` Matthew Heaney
replies disabled

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