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.5 required=5.0 tests=BAYES_05,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,b50bc6538a649497 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2000-11-09 22:10:00 PST Path: supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!hermes.visi.com!news-out.visi.com!xfer10.netnews.com!netnews.com!howland.erols.net!portc.blue.aol.com.MISMATCH!portc03.blue.aol.com!audrey05.news.aol.com!not-for-mail From: djack143@aol.com (DJack143) Newsgroups: comp.lang.ada Subject: Re: if statements NNTP-Posting-Host: ladder06.news.aol.com X-Admin: news@aol.com Date: 10 Nov 2000 06:09:59 GMT References: <3A02CED4.520C2768@brighton.ac.uk> Organization: AOL http://www.aol.com Message-ID: <20001110010959.29710.00000734@ng-cu1.aol.com> Xref: supernews.google.com comp.lang.ada:1983 Date: 2000-11-10T06:09:59+00:00 List-Id: if you have not gotten a reply yet: Make the declaration: a, b, temp : type -- whatever you type is begin ---your code here if a > b then temp =: a; a := b; b := temp; end if; ... -- more code here end; --this will work but a procedure would probably be better. good luck don