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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,c944ce2ba25eeb02 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-04-19 15:09:52 PST Newsgroups: comp.lang.ada Path: supernews.google.com!newsfeed.google.com!newsfeed.stanford.edu!paloalto-snf1.gtei.net!news.gtei.net!enews.sgi.com!nntp.msen.com!uunet!ash.uu.net!world!bobduff From: Robert A Duff Subject: Re: Generic Packages Sender: bobduff@world.std.com (Robert A Duff) Message-ID: Date: Thu, 19 Apr 2001 22:09:08 GMT References: <9bnh7f$5di$1@news.inter.net.il> Organization: The World Public Access UNIX, Brookline, MA X-Newsreader: Gnus v5.3/Emacs 19.34 Xref: supernews.google.com comp.lang.ada:7022 Date: 2001-04-19T22:09:08+00:00 List-Id: "Eyal Ben-gal" writes: > but when i'm trying to make it generic I fail since I'm calling the abstruct > data type functions and the compiler ofcourse can't know how to connect that > to the type I'm using for the SetFirst, SetNext functions. > > How can I do that ? You can either pass in all the operations, or you can use a generic formal derived type, where the ancestor type has the operations. - Bob