Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!uwm.edu!srcsip!jhereg!wd0gol!newave!john From: john@newave.UUCP (John A. Weeks III) Newsgroups: comp.lang.c Subject: Re: Pascal (might have once been Re: for(;;) vs. while(1) is a draw) Message-ID: <409@newave.UUCP> Date: 31 May 90 03:25:38 GMT References: <5876@buengc.BU.EDU> <12955@smoke.BRL.MIL> <5879@buengc.BU.EDU> <1751@tkou02.enet.dec.com> <3104@goanna.cs.rmit.oz.au> Reply-To: john@newave.mn.org (John A. Weeks III) Organization: NeWave Communications Ltd, Eden Prairie, MN Lines: 25 In article <3104@goanna.cs.rmit.oz.au> ok@goanna.cs.rmit.oz.au (Richard A. O'Keefe) writes: >In article <1751@tkou02.enet.dec.com>, diamond@tkou02.enet.dec.com (diamond@tkovoa) writes: >: 1> program main; >--------------------^ (output) should be declared because it is used! >: >(I count three violations of the Pascal Standard.) This has very little to do with "C"--but there can still be a lesson in this. By far, the largest installed base of Pascal is Turbo Pascal. As a result, the standard has little to do with most Pascal code. There are also C programmers in this situation. One of the machines I write code for has no concept of a file, terminal, error handling, and it does not allow the programmer to define a "main" procedure. This kind of makes most of the "standard library" useless and the C code is quite unique to that machine. I sure hope my review is not based on my conformance to the "standard". -john- -- =============================================================================== John A. Weeks III (612) 942-6969 john@newave.mn.org NeWave Communications ...uunet!rosevax!bungia!wd0gol!newave!john ===============================================================================