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.6 required=5.0 tests=BAYES_00,TO_NO_BRKTS_FROM_MSSP autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,418229d2389bacc6 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-06-13 13:51:38 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!feed.textport.net!newsranger.com!www.newsranger.com!not-for-mail Newsgroups: comp.lang.ada From: Ted Dennison References: <9g8hj6$o3t$1@dns3.cae.ca> Subject: Re: Overloading and / or / = / etc etc Message-ID: X-Abuse-Info: When contacting newsranger.com regarding abuse please X-Abuse-Info: forward the entire news article including headers or X-Abuse-Info: else we will not be able to process your request X-Complaints-To: abuse@newsranger.com NNTP-Posting-Date: Wed, 13 Jun 2001 16:50:47 EDT Organization: http://www.newsranger.com Date: Wed, 13 Jun 2001 20:50:47 GMT Xref: archiver1.google.com comp.lang.ada:8693 Date: 2001-06-13T20:50:47+00:00 List-Id: In article <9g8hj6$o3t$1@dns3.cae.ca>, Phil Foran says... >Im wondering if there is a way to do PACKAGEX.= or PACKAGEY.or, when i try >these i just get syntax errors, but im sure there must be a way to do it. packagex."=" (Identifier_1, Identifier_2); ..to be exact. Most people consider this unspeakably ugly. You may need it. Then again, you may not. Where exactly is the ambiguity comming from? I don't suppose you could show us the line with the syntax error and the two function definitions, could you? We might be able to point out a better way out of the problem. One other possibility would be to decrease the scope of your "use" or "use type" statements so that only the appropriate one applies at each place. If you do truly need the full dot notation, I'd say that those two packages should probably be rethought. --- T.E.D. homepage - http://www.telepath.com/dennison/Ted/TED.html home email - mailto:dennison@telepath.com