From: mark_lundquist@my-deja.com
Subject: Re: Strings
Date: Thu, 21 Dec 2000 18:47:39 GMT
Date: 2000-12-21T18:47:39+00:00 [thread overview]
Message-ID: <91tj87$j2r$1@nnrp1.deja.com> (raw)
In-Reply-To: 3A42418F.ACCD532A@vdu.org
In article <3A42418F.ACCD532A@vdu.org>,
Jef Kelmo <jlk@vdu.org> wrote:
>
> Is it obvious by now that I don't know what I am doing?
yeh... :-) :-) :-)
Your problem is simple...
When you instantiate a generic package, you get a package, but you're
trying to call it a type.
Instantiate the generic, then use the type from the instance, something
like:
package Bounded_Strings_80 is
new Ada.Strings.Bounded.Generic_Bounded_Length(80);
subtype String_80 is Bounded_Strings_80.Bounded_String;
Good luck with Ada!
-- mark
Mark Lundquist
Rational Software
Sent via Deja.com
http://www.deja.com/
next prev parent reply other threads:[~2000-12-21 18:47 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-12-21 17:45 Strings Jef Kelmo
2000-12-21 18:01 ` Strings Jef Kelmo
2000-12-21 18:47 ` Strings mark_lundquist
2000-12-21 18:47 ` mark_lundquist [this message]
2000-12-21 23:31 ` Strings gdemont
2000-12-21 19:03 ` Strings David C. Hoos, Sr.
-- strict thread matches above, loose matches on Subject: below --
2000-12-21 21:09 Strings Beard, Frank
2000-12-22 14:19 ` Strings Jef Kelmo
2000-12-22 14:49 ` Strings Larry Kilgallen
2000-12-22 16:35 ` Strings Marin David Condic
2000-12-23 21:04 ` Strings Georg Bauhaus
2000-05-27 0:00 Strings Karlene
2000-05-27 0:00 ` Strings Robert Dewar
2000-05-27 0:00 ` Strings MaggieJohn
2000-05-28 0:00 ` Strings Robert Dewar
2000-06-03 0:00 ` Strings Robert I. Eachus
2000-05-27 0:00 ` Strings David C. Hoos, Sr.
2000-05-27 0:00 ` Strings Robert Dewar
1995-01-25 15:08 Strings Ray Toal
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox