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.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,a370fcbf5c4dae94,start X-Google-Attributes: gid103376,public From: "Anthony E. Glover" Subject: How to?: Re-dispatching within an inherited method Date: 1999/08/09 Message-ID: <37AF0ADE.3D80FEB3@hiwaay.net>#1/1 X-Deja-AN: 510662193 X-Accept-Language: en Content-Type: multipart/mixed; boundary="------------FD9CF146DC9078C3CA7CE74A" X-Complaints-To: newsabuse@supernews.com Organization: Posted via Supernews, http://www.supernews.com MIME-Version: 1.0 Reply-To: aeg@hiwaay.net Newsgroups: comp.lang.ada Date: 1999-08-09T00:00:00+00:00 List-Id: This is a multi-part message in MIME format. --------------FD9CF146DC9078C3CA7CE74A Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Is it possible to re-dispatch a method call within an inherited method? For example: package A defines a type widget that has methods widget_size and run_widget. package B defines a type bigwidget that has an overriding method for widget_size, but inherits the run_widget method without modification. Within package A, run_widget makes a call to widget_size. Is it possbile to force a re-dispatch such that the appropriate widget_size method gets called based on the object passed into run_widget? Thanks for any help, Tony aeg@hiwaay.net --------------FD9CF146DC9078C3CA7CE74A Content-Type: text/x-vcard; charset=us-ascii; name="aeg.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Anthony E. Glover Content-Disposition: attachment; filename="aeg.vcf" begin:vcard n:Glover;Anthony E. tel;fax:256-721-1816 tel;home:256-837-7017 tel;work:256-721-7714 X249 x-mozilla-html:FALSE url:www.elmco.com org:ELMCO, Inc. version:2.1 email;internet:aeg@hiwaay.net title:Senior Software Engineer adr;quoted-printable:;;6000 Technology Drive=0D=0ASuite N;Huntsville;AL;35805;USA x-mozilla-cpt:;1 fn:Anthony E. Glover end:vcard --------------FD9CF146DC9078C3CA7CE74A--