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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,407c890f49bff7e2 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-06-24 15:29:55 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!howland.erols.net!news-out.worldnet.att.net.MISMATCH!wn4feed!worldnet.att.net!204.127.198.204!attbi_feed4!attbi.com!rwcrnsc53.POSTED!not-for-mail From: Caffeine Junky Subject: Re: A little help on Generics. Newsgroups: comp.lang.ada References: User-Agent: Pan/0.11.3 (Unix) Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Comment-To: "Jeffrey Creem" Message-ID: NNTP-Posting-Host: 12.245.48.122 X-Complaints-To: abuse@attbi.com X-Trace: rwcrnsc53 1024957794 12.245.48.122 (Mon, 24 Jun 2002 22:29:54 GMT) NNTP-Posting-Date: Mon, 24 Jun 2002 22:29:54 GMT Organization: AT&T Broadband Date: Mon, 24 Jun 2002 22:29:54 GMT Xref: archiver1.google.com comp.lang.ada:26677 Date: 2002-06-24T22:29:54+00:00 List-Id: On Mon, 24 Jun 2002 16:21:38 -0400, Jeffrey Creem wrote: > Ok..In any case your first real problem is with the instantiation which > should look > like the one i gave you v.s. the one you used. > > There are several things wrong with the body (not using Max, not > actually filling > in the next fields on pushes... a few others as well...) > > This seems an aweful lot like a homework assignment... No, it's not a homework assignment. I'm working out of Barnes's "Programming in Ada95". I've basically stuck to C in the past, but now I wanna learn Ada. As far as the Push, this technique seems to work correctly in non-generic packages. Your correct about the Max parameter. I've just corrected that little slip up. Thanks for the pointers. St4pL3