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 X-Google-Thread: 103376,fc684242a03ba7c0 X-Google-Attributes: gid103376,public From: John Magness Subject: Re: Problem with operator "<" Date: 2000/09/18 Message-ID: <39C654E1.E4DC1C1F@swbell.net>#1/1 X-Deja-AN: 671281060 Content-Transfer-Encoding: 8bit References: <39C12B38.47273C93@netcourrier.com> <8prggo$q9k$1@nnrp1.deja.com> <39C25377.E038D6C9@netcourrier.com> <39C2ADEC.10E0B022@swbell.net> <39C36424.C88A764@netcourrier.com> <39C3A4A8.9ED2F23F@swbell.net> <39C63D8C.DEE2E36B@netcourrier.com> X-Accept-Language: en Content-Type: text/plain; charset=iso-8859-1 X-Complaints-To: abuseswbell.net X-Trace: nnrp3.sbc.net 969299088 207.193.227.78 (Mon, 18 Sep 2000 12:44:48 CDT) Organization: N.O.Y.B. MIME-Version: 1.0 Reply-To: jmagness@swbell.net NNTP-Posting-Date: Mon, 18 Sep 2000 12:44:48 CDT Newsgroups: comp.lang.ada Date: 2000-09-18T00:00:00+00:00 List-Id: Mathias Dolidon wrote: > John Magness a �crit : > > > > Mathias Dolidon wrote: > > > > > > My two cents -- the line : if Left(i) < Right(i) then appears to be > > > > comparing the same element of the array. > > > > This line should never test true. > > > > > > It isn't the same array. I don't understand what problem you see here... > > > > Sorry -- my mistake -- it is not the same array. However it is still a > > recursive call to the function being declared ("<") is it not? > > > > If the line is changed to "if not (left(i) > right(i)) then " the recursive > > call would > > be avoided. > > John > > 'grand_entier' (large integer in french) is composed of integer-type > elements. So we make a call to the integer '<' comparator. There is no > recursion. > > Pleased to read you, > Mathias > > -- > http://www.mdlabs.ovh.org You are correct. The data types are different. I'm not sure what happened -- my neurons are on vacation. John