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,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,5232c05e6bbd864d,start X-Google-Attributes: gid103376,public From: Corey Minyard Subject: Dynamic dispatch and calling parent Date: 1996/10/23 Message-ID: #1/1 X-Deja-AN: 191417376 sender: minyard@wf-rch organization: Wonderforce Research newsgroups: comp.lang.ada Date: 1996-10-23T00:00:00+00:00 List-Id: I've looked through the FAQs, tutorials, and the rational and LRM and I haven't found an answer to my question. I am trying to create a dynamically dispached function. I want the function for the child type to be able to call the parent's function much like you can in Java, Oberon-2, C++, etc. This way, the private parent portion may be operated on. However, I can't figure out how; my best guess is that it is not possible. Currently I am defining static and dynamically dispached versions of the function and calling the static versions from the child. However, I consider this less than optimal. I would be disappointed if Ada couldn't do this. Any help would be appreciated. And this probably should be a FAQ item. Thanks, Corey -- Corey Minyard Internet: minyard@metronet.com Work: minyard@nortel.ca UUCP: minyard@wf-rch.cirr.com