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,dad60d4c85e92bbb,start X-Google-Attributes: gid103376,public From: "James A. Squire" Subject: Re: Dispatching in Ada95 Date: 1996/04/29 Message-ID: <31854701.3569@csehp3.mdc.com>#1/1 X-Deja-AN: 152132415 sender: Ada programming language references: comments: Gated by NETNEWS@AUVM.AMERICAN.EDU content-type: text/plain; charset=us-ascii organization: MDA Avionics Tools & Processes mime-version: 1.0 newsgroups: comp.lang.ada x-mailer: Mozilla 2.01 (X11; I; HP-UX A.09.01 9000/715) Date: 1996-04-29T00:00:00+00:00 List-Id: On Wed, 24 Apr 1996 22:58:40, Robert Dewar wrote: > James Squire said > > "So, you do compromise and use the use clause, then. That was my whole > question. The use clause *is* essential to dispatching." > > This is quite wrong, the use clause has to do with direct visibility and > whether you need to use dots. It does not have anything to do with > dispatching. Asked and answered already. Apparently you missed the following exchange on the 23rd: > On, Tue, 23 Apr 1996 04:00:50 GMT, Tucker Taft > > > > : So, you do compromise and use the use clause, then. That was my whole > > : question. The use clause *is* essential to dispatching. > > > > No, the use clause is irrelevant to dispatching. You can write P.F(X) > > in a dispatching call. Furthermore, presuming X is of type T'Class, > > then only the "F" on "T" needs to be visible. The "F" on T1, T2, etc., > > need not be visible. > > A couple of others have informed me of this also. This is one fact in > all of this that I literally did not know. I'm glad to hear that you > don't have use the use clause at all in order to use dispatching. Of > course, I probably should have guessed as much as soon as someone > informed me that visibility to all dispatchable routines is not needed > at compile time - the other fact that I literally did not know. -- James Squire MDA Avionics Tools & Processes ja_squire@csehp3.mdc.com "one of these days I'm going to better myself by going to Knight school" "You'll be a web knight instead of a web page!"