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,8fbfbe3b40093d7d X-Google-Attributes: gid103376,public From: Tom Moran Subject: Re: comparing data Date: 1997/10/02 Message-ID: <34349469.1486@bix.com>#1/1 X-Deja-AN: 277508854 References: Organization: InterNex Information Services 1-800-595-3333 Reply-To: tmoran@bix.com Newsgroups: comp.lang.ada Date: 1997-10-02T00:00:00+00:00 List-Id: if A <= B and A <= C then return A; elsif B <= A and B <= C then return B; else return C; end if; Not the most efficient, or the most easily generalized, but it works. Now, why don't you make it more efficient by using nested 'if's or something?