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.3 required=5.0 tests=BAYES_00,FREEMAIL_FROM, INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,ad62d6b425bebfec X-Google-Attributes: gid103376,public From: jamess1889@aol.com (JamesS1889) Subject: Re: "use" clauses and Ada 95 OOP Date: 1996/07/23 Message-ID: <4t3e7o$sga@newsbf02.news.aol.com>#1/1 X-Deja-AN: 169732269 sender: root@newsbf02.news.aol.com references: <4t2qib$f0o@michp1.redstone.army.mil> organization: America Online, Inc. (1-800-827-6364) newsgroups: comp.lang.ada Date: 1996-07-23T00:00:00+00:00 List-Id: In article <4t2qib$f0o@michp1.redstone.army.mil>, "Kevin J. Weise" writes: >Unless I'm seriously missing something here, the function in pkg1 >will be executed if in fact there *is* one in pkg1. If there isn't, >and the user doesn't have detailed knowledge of the derivation of x, >then the user has to go looking for where func actually is defined. >I see no real difference between this and the class-based model. Not necessarily in the context of the example. It was a dispatching call, therefore, the one that gets called is based on the tag value of x at that moment. Pkg1 in fact, must be the package where the root type of the class is defined. That is it's only purporse. James Squire mailto:ja_squire@csehp3.mdc.com MDA Avionics Tools & Processes McDonnell Douglas Aerospace http://www.mdc.com Opinions expressed here are my own and NOT my company's "Only one Earth Captain has ever survived battle with a Minbari fleet. He is behind me. You are in front of me. If you value your lives, be somewhere else!" -- Delenn, "Severed Dreams"