From: Larry Hazel <lhazel@mindspring.com>
Subject: Re: Anonymous array clarification.
Date: Mon, 20 Aug 2001 05:26:34 -0500
Date: 2001-08-20T10:26:34+00:00 [thread overview]
Message-ID: <3B80E5DA.65659B1E@mindspring.com> (raw)
In-Reply-To: tY1g7.45466$K6.17744072@news2
McDoobie wrote:
>
> In Ada one can declare anonymous arrays (an array without a type assigned
> to it.) However what would such an array be used for, and are the bounds
> on it's use the same as for any other type of array.
>
> I guess what I'm asking is if I declare an array such as
>
> some_array : array(1..N);
>
> Can I assign values such as '1' '2' '3' 'H' 'y' '-' 'foo' all to the same
> array?
No, no. Only the array type is anonymous. The data type of elements must be
declared.
some_array : array(1..N) of Integer;
Larry
next prev parent reply other threads:[~2001-08-20 10:26 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-08-20 6:18 Anonymous array clarification McDoobie
2001-08-20 8:03 ` Phil Thornley
2001-08-20 16:49 ` Tables vs functions (was Re: Anonymous array clarification.) Ray Blaak
2001-08-20 17:28 ` Marin David Condic
2001-08-20 21:02 ` Samuel T. Harris
2001-08-21 14:13 ` Marin David Condic
2001-08-20 8:29 ` Anonymous array clarification David C. Hoos, Sr.
2001-08-20 10:26 ` Larry Hazel [this message]
2001-08-20 13:37 ` Samuel T. Harris
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox