From: "Martin Dowie" <martin.dowie@btopenworld.com>
Subject: Re: Getting valid Integer values !!
Date: Tue, 21 Oct 2003 23:04:00 +0000 (UTC)
Date: 2003-10-21T23:04:00+00:00 [thread overview]
Message-ID: <bn4e10$6mt$1@hercules.btinternet.com> (raw)
In-Reply-To: EEglb.1917$VQ3.243794@news20.bellglobal.com
"CheGueVerra" <chegueverra@hotmail.com> wrote in message
news:EEglb.1917$VQ3.243794@news20.bellglobal.com...
> >You should declare a 'subtype' for this range.
>
> In my homework I do declare a subtype for it, I just didn't for the
test...
Good
Also, for literals you should use '_' for such large numbers, e.g.
1_000_000 not 1000000
> 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).
>
> That's why I'm not taking a chance and using the exit in the loop, the
> teacher might just see the exit and I'll loose points, and the homework is
> already late ;), but almost finished, I'm testing and installing data
> cheking
Fair enough
next prev parent reply other threads:[~2003-10-21 23:04 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 [this message]
2003-10-21 23:35 ` CheGueVerra
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