From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,f1383d04dfe15e0 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-12-17 04:48:56 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed2.news.rcn.net!rcn!newsfeed1.earthlink.net!newsfeed.earthlink.net!newsmaster1.prod.itd.earthlink.net!newsread2.prod.itd.earthlink.net.POSTED!not-for-mail Message-ID: <3C1DDBE7.C0421CC0@earthlink.net> From: "Marc A. Criley" Organization: Quadrus Corporation X-Mailer: Mozilla 4.73 [en] (X11; U; Linux 2.2.14-5.0 i686) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: dynamic arrays in ada? References: <3C1DE052.8040209@t-online.de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Mon, 17 Dec 2001 12:48:57 GMT NNTP-Posting-Host: 63.178.180.70 X-Complaints-To: abuse@earthlink.net X-Trace: newsread2.prod.itd.earthlink.net 1008593337 63.178.180.70 (Mon, 17 Dec 2001 04:48:57 PST) NNTP-Posting-Date: Mon, 17 Dec 2001 04:48:57 PST X-Received-Date: Mon, 17 Dec 2001 04:48:55 PST (newsmaster1.prod.itd.earthlink.net) Xref: archiver1.google.com comp.lang.ada:17996 Date: 2001-12-17T12:48:57+00:00 List-Id: 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