Xref: utzoo comp.misc:5430 comp.lang.misc:2716 Path: utzoo!utgpu!utstat!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!decwrl!sun!pitstop!sundc!seismo!uunet!mcvax!ukc!etive!lfcs!nick From: nick@lfcs.ed.ac.uk (Nick Rothwell) Newsgroups: comp.misc,comp.lang.misc Subject: Re: Program Errors and developement environment Message-ID: <1549@etive.ed.ac.uk> Date: 9 Mar 89 12:07:11 GMT References: <4352@enea.se> <2950@hound.UUCP> <3998@ttidca.TTI.COM> Sender: news@etive.ed.ac.uk Reply-To: nick@lfcs.ed.ac.uk (Nick Rothwell) Organization: LFCS Mornington Crescent Society Lines: 26 My favourite of the "Oh, look, it's commented out" problems is the following one I ran into in a 1st year's PASCAL program many years ago; it had to print out a pattern of stars, or somesuch: PROGRAM .... ... FOR i := 1 TO 50 DO Write(*); ... ...lots more code... ... FOR i := 1 TO 50 DO Write(*); ... END. The program was perfectly legal; the student couldn't understand why on earth large chunks of his program were being mysteriously ignored. Nick. -- Nick Rothwell, Laboratory for Foundations of Computer Science, Edinburgh. nick@lfcs.ed.ac.uk !mcvax!ukc!lfcs!nick ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ...while the builders of the cages sleep with bullets, bars and stone, they do not see your road to freedom that you build with flesh and bone.