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,6433f675cae9b5bc X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-03-27 12:27:44 PST Newsgroups: comp.lang.ada Path: supernews.google.com!sn-xit-02!supernews.com!news.tele.dk!205.231.236.10!newspeer.monmouth.com!nntp.msen.com!uunet!ash.uu.net!world!bobduff From: Robert A Duff Subject: Re: Allocate an array of a record with a discriminant? Sender: bobduff@world.std.com (Robert A Duff) Message-ID: Date: Tue, 27 Mar 2001 20:22:38 GMT References: Organization: The World Public Access UNIX, Brookline, MA X-Newsreader: Gnus v5.3/Emacs 19.34 Xref: supernews.google.com comp.lang.ada:6136 Date: 2001-03-27T20:22:38+00:00 List-Id: "Joe" writes: > Basically, I want to create an array of English words. The following > information will be given before the words are typed in, _but_ not before > runtime: > > - the maximum length of any one word (the Max_Length variable will contain > it) You could use Ada.Strings.Unbounded, and then you wouldn't care what the max length is. - Bob