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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,2fc95e32fd071218 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-11-23 11:50:56 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fr.clara.net!heighliner.fr.clara.net!freenix!wanadoo.fr!not-for-mail From: Pascal Obry Newsgroups: comp.lang.ada Subject: Re: Two class-wide operands, but only one controlling Date: 23 Nov 2002 20:50:37 +0100 Organization: Home - http://perso.wanadoo.fr/pascal.obry Message-ID: References: <3ddfa8b8$0$304$bed64819@news.gradwell.net> NNTP-Posting-Host: avelizy-103-1-1-136.abo.wanadoo.fr Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news-reader10.wanadoo.fr 1038081055 29468 217.128.141.136 (23 Nov 2002 19:50:55 GMT) X-Complaints-To: abuse@wanadoo.fr NNTP-Posting-Date: 23 Nov 2002 19:50:55 GMT User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.92 Xref: archiver1.google.com comp.lang.ada:31188 Date: 2002-11-23T19:50:55+00:00 List-Id: porton@ex-code.com (Victor Porton) writes: > I want something like a procedure with two class-wide operands, > (of two different types) but only one of these controlling. > > The solution I found is introducing new tagged record > types which would refer to these two types and passing both > operands as one operand in such the record. Other solutions? Declare the second one as a class-wide ('Class) parameter. Pascal. -- --|------------------------------------------------------ --| Pascal Obry Team-Ada Member --| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE --|------------------------------------------------------ --| http://perso.wanadoo.fr/pascal.obry --| "The best way to travel is by means of imagination" --| --| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595