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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,b62b9163b26144cf X-Google-Attributes: gid103376,public From: John English Subject: Re: Exit Loop_Statement Date: 2000/05/09 Message-ID: <391825BE.FDEF9B72@bton.ac.uk>#1/1 X-Deja-AN: 621143198 Content-Transfer-Encoding: 7bit References: <8f7oep$khc$1@enyo.uwa.edu.au> <3917C83E.D088C4DF@bton.ac.uk> <8f91ps$vb3$1@nnrp1.deja.com> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: news@bton.ac.uk X-Trace: saturn.bton.ac.uk 957883919 22618 193.62.183.204 (9 May 2000 14:51:59 GMT) Organization: University of Brighton Mime-Version: 1.0 NNTP-Posting-Date: 9 May 2000 14:51:59 GMT Newsgroups: comp.lang.ada Date: 2000-05-09T14:51:59+00:00 List-Id: Robert Dewar wrote: > In article <3917C83E.D088C4DF@bton.ac.uk>, > John English wrote: > > That should be Clients(1..4), right? > > Well yes, of course, and of course we all saw that. But don't > you think it is instructive for people to find a bug like that > for themselves. I preferred the previous post which gave a > useful pointed hint (think about whether this will ever be > true), to this one that provides the correction directly. I would agree with you completely if the question had been "Why does this code generate a Constraint_Error?" But it wasn't, so I pointed out an unrelated minor typo in passing. Maybe he hit the key next to the 4 by mistake. Maybe it was a deliberate error to generate Constraint_Error for testing purposes. > A hard part of computer programming is figuring out why what > you have written does not work, and learning to be careful > and avoid writing such things in the first place. Practice > is really essential in this task. The purpose of assignments > is to provide this practice, and you have to be careful that > in an attempt to be helpful you do not bypass this very > important function. I know you don't like people giving direct answers to questions, but I hadn't realised this also extended to questions that haven't even been asked... ----------------------------------------------------------------- John English | mailto:je@brighton.ac.uk Senior Lecturer | http://www.it.bton.ac.uk/staff/je Dept. of Computing | ** NON-PROFIT CD FOR CS STUDENTS ** University of Brighton | -- see http://burks.bton.ac.uk -----------------------------------------------------------------