comp.lang.ada
 help / color / mirror / Atom feed
From: Robert A Duff <bobduff@world.std.com>
Subject: Re: Allocate an array of a record with a discriminant?
Date: Tue, 27 Mar 2001 20:22:38 GMT
Date: 2001-03-27T20:22:38+00:00	[thread overview]
Message-ID: <wccae67ynap.fsf@world.std.com> (raw)
In-Reply-To: tc1ghv4o7s23e2@corp.supernews.co.uk

"Joe" <sorry@no.email> 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



  reply	other threads:[~2001-03-27 20:22 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-27 15:41 Allocate an array of a record with a discriminant? Joe
2001-03-27 20:22 ` Robert A Duff [this message]
2001-03-27 21:11 ` tmoran
2001-03-30 18:48 ` Mark Lundquist
2001-03-31  4:22   ` Robert A Duff
  -- strict thread matches above, loose matches on Subject: below --
2001-03-27 19:44 Beard, Frank
replies disabled

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