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.1 required=5.0 tests=BAYES_20,INVALID_DATE autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,b6f6d8ca2974313b X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 1994-10-25 16:27:35 PST Path: nntp.gmd.de!newsserver.jvnc.net!news.cac.psu.edu!news.pop.psu.edu!hudson.lm.com!nntp.club.cc.cmu.edu!cantaloupe.srv.cs.cmu.edu!das-news2.harvard.edu!news2.near.net!news.delphi.com!BIX.com!mcriley From: mcriley@BIX.com (mcriley on BIX) Newsgroups: comp.lang.ada Subject: Re: Easy ADA question from a hapless Newbie Date: 25 Oct 94 22:17:21 GMT Organization: Delphi Internet Services Corporation Message-ID: References: <38jl8h$rqb@columbia.acc.brad.ac.uk> NNTP-Posting-Host: bix.com Date: 1994-10-25T22:17:21+00:00 List-Id: A.J.Jones@bradford.ac.uk (AJ JONES) writes: >Can anyone help me ? Im new to ADA, used to PASCAL. Is there a way of ending a loop >such as a while loop, etc, by jumping to the end of that loop. There used to be a >command in Pascal that would let you do this. I think it was something like stop. I >know that halt stopped the entire program. >Thanks >Adam Do you want to "jump to the end of that loop" so as to exit? If so, use the "exit" statement, perhaps with the "when" modifier. Do you want to skip over all the statements after a given condition occurs and cycle back to the top of the loop? If so, use an "if" statement and place all the conditionally executed statements within it. Marc A. Criley