From: "CheGueVerra" <chegueverra@hotmail.com>
Subject: Re: Getting valid Integer values !!
Date: Tue, 21 Oct 2003 19:35:08 -0400
Date: 2003-10-21T19:35:08-04:00 [thread overview]
Message-ID: <Jojlb.2002$VQ3.263951@news20.bellglobal.com> (raw)
In-Reply-To: bn4e10$6mt$1@hercules.btinternet.com
> 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
next prev parent reply other threads:[~2003-10-21 23:35 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-21 19:11 Getting valid Integer values !! CheGueVerra
2003-10-21 20:15 ` Martin Dowie
2003-10-21 20:27 ` CheGueVerra
2003-10-21 23:04 ` Martin Dowie
2003-10-21 23:35 ` CheGueVerra [this message]
2003-10-22 2:49 ` Steve
2003-10-22 0:46 ` Jeffrey Carter
2003-10-22 1:07 ` CheGueVerra
-- strict thread matches above, loose matches on Subject: below --
2003-10-21 20:34 Beard, Frank Randolph CIV
2003-10-21 21:34 ` CheGueVerra
2003-10-21 21:36 ` CheGueVerra
[not found] <mailman.161.1066792253.25614.comp.lang.ada@ada-france.org>
2003-10-22 3:46 ` Jeff C,
2003-10-22 19:27 ` Simon Wright
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox