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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,b971479ef2fe811a X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-10-21 16:50:11 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.mathworks.com!wn13feed!worldnet.att.net!207.35.177.252!nf3.bellglobal.com!nf1.bellglobal.com!nf2.bellglobal.com!news20.bellglobal.com.POSTED!not-for-mail From: "CheGueVerra" Newsgroups: comp.lang.ada References: Subject: Re: Getting valid Integer values !! X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-ID: Date: Tue, 21 Oct 2003 19:35:08 -0400 NNTP-Posting-Host: 67.71.117.216 X-Complaints-To: abuse@sympatico.ca X-Trace: news20.bellglobal.com 1066779305 67.71.117.216 (Tue, 21 Oct 2003 19:35:05 EDT) NNTP-Posting-Date: Tue, 21 Oct 2003 19:35:05 EDT Organization: Bell Sympatico Xref: archiver1.google.com comp.lang.ada:1345 Date: 2003-10-21T19:35:08-04:00 List-Id: > Also, for literals you should use '_' for such large numbers, e.g. > 1_000_000 not 1000000 my subtype is declared as so subtype TelNumber is Integer range 1000000..9999999; now you want me to change this to subtype TelNumber is Integer range 1_000_000..9_999_999; exact ? if so why is it better ? > > Cannot exit a loop while and for with an exit > > Cannot use goto > > Cannot have global variables > > And so another 'programmer invented flag' hits the coding sheets... > ...my old JSP teacher would be spinning! > > If you are also write a criteque of this, you can tell your prof, that > 'exit' is the mechanism of choice in such circumstances for Ada > users (and always has been). Let's say for now I'm concentrating on finishing, and also I don't really have the knowledge yet of why that would be the mechanism of choice , so I couldn't defend my view, except for saying : " Martin Dowie said so on Comp.lang.ada", I think that isn't a good argument ;). I wouldn't accept it as a teacher, I think he wouldn't either CheGueVerra