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=0.7 required=5.0 tests=BAYES_00,MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,18f7cf743c6dec5 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2000-12-21 11:02:08 PST Path: supernews.google.com!sn-xit-03!supernews.com!newsfeed.wirehub.nl!news.maxwell.syr.edu!nntp2.deja.com!nnrp1.deja.com!not-for-mail From: mark_lundquist@my-deja.com Newsgroups: comp.lang.ada Subject: Re: Strings Date: Thu, 21 Dec 2000 18:47:30 GMT Organization: Deja.com Message-ID: <91tj7u$j2l$1@nnrp1.deja.com> References: <3A42418F.ACCD532A@vdu.org> NNTP-Posting-Host: 130.213.201.35 X-Article-Creation-Date: Thu Dec 21 18:47:30 2000 GMT X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 5.0; Windows NT; DigExt) X-Http-Proxy: 1.1 x57.deja.com:80 (Squid/1.1.22) for client 130.213.201.35 X-MyDeja-Info: XMYDJUIDmark_lundquist Xref: supernews.google.com comp.lang.ada:3329 Date: 2000-12-21T18:47:30+00:00 List-Id: In article <3A42418F.ACCD532A@vdu.org>, Jef Kelmo 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/