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.6 required=5.0 tests=BAYES_00,TO_NO_BRKTS_FROM_MSSP autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,c360d0cfa1003043 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-10-05 08:27:39 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!howland.erols.net!nntp.abs.net!feeder.qis.net!feed2.onemain.com!feed1.onemain.com!out.nntp.be!propagator-SanJose!news-in-sanjose!newsranger.com!www.newsranger.com!not-for-mail Newsgroups: comp.lang.ada From: Ted Dennison References: <3BBCB63C.96E484EA@san.rr.com> <3BBCD596.AF223388@san.rr.com> Subject: Re: Novice Ada Programmer Stumped By Simple Type Declaration! Message-ID: X-Abuse-Info: When contacting newsranger.com regarding abuse please X-Abuse-Info: forward the entire news article including headers or X-Abuse-Info: else we will not be able to process your request X-Complaints-To: abuse@newsranger.com NNTP-Posting-Date: Fri, 05 Oct 2001 11:27:12 EDT Organization: http://www.newsranger.com Date: Fri, 05 Oct 2001 15:27:12 GMT Xref: archiver1.google.com comp.lang.ada:13796 Date: 2001-10-05T15:27:12+00:00 List-Id: In article <3BBCD596.AF223388@san.rr.com>, Darren New says... > >Ted Dennison wrote: >> >> It looks like you should be calling URI_Pkg.URI_List_Pkg.Append. > >Oh! Duh! It's not URI_Pkg.Append. It's URI_Pkg.URI_List_Pkg.Append. Once I figured out how to deal with routines in generic packages, it did become obvious. But at first I had no end of trouble with it, so don't feel bad about it. > >Adding "use URI_Pkg.URI_List_Pkg" fixes it. Right. Once you figure out the exact name of the routine you *should* be calling, then its (arguably) OK to put in the proper use to get access to it. The problem people get into with uses is that they use them as a crutch so that they never have to know or think about where stuff is comming from. >(Incidentally, this is for the unit-test code for a >first-one-to-throw-away project, while I'm learning Ada, so the over-use >of "use" isn't as bad as it might be.) Even for those, I don't do "use"s. 8-) --- T.E.D. homepage - http://www.telepath.com/dennison/Ted/TED.html No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced.