comp.lang.ada
 help / color / mirror / Atom feed
From: "Marc A. Criley" <mcqada95@earthlink.net>
Subject: Re: dynamic arrays in ada?
Date: Mon, 17 Dec 2001 12:48:57 GMT
Date: 2001-12-17T12:48:57+00:00	[thread overview]
Message-ID: <3C1DDBE7.C0421CC0@earthlink.net> (raw)
In-Reply-To: 3C1DE052.8040209@t-online.de

Lars Plessmann wrote:
> 
> how can I generate a dynamic array in ada (like in perl e.g.)
> with a undefined begin and end.
> i know there a "range <>" construction, but how to use it?
> 
> I need an array-type where I can store unbounded_strings.
> I need to realize that in an package (ADS), so the type should be open
> to my ADB file.
> is that possible and how can I realize that?

Yes, it's certainly possible, read about unconstrained arrays in any Ada
textbook.

Marc A. Criley
Senior Staff Engineer
Quadrus Corporation
www.quadruscorp.com



  reply	other threads:[~2001-12-17 12:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-17 12:08 dynamic arrays in ada? Lars Plessmann
2001-12-17 12:48 ` Marc A. Criley [this message]
2001-12-17 13:30 ` Georg Bauhaus
2001-12-17 14:07   ` Preben Randhol
replies disabled

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