Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site mmintl.UUCP Path: utzoo!linus!philabs!pwa-b!mmintl!franka From: franka@mmintl.UUCP (Frank Adams) Newsgroups: net.lang.c Subject: Re: "C" wish list. Message-ID: <761@mmintl.UUCP> Date: Sun, 3-Nov-85 20:47:03 EST Article-I.D.: mmintl.761 Posted: Sun Nov 3 20:47:03 1985 Date-Received: Tue, 5-Nov-85 07:41:40 EST References: <335@graffiti.UUCP> <895@rlvd.UUCP> <742@mmintl.UUCP> <264@mit-eddie.UUCP> Reply-To: franka@mmintl.UUCP (Frank Adams) Distribution: net Organization: Multimate International, E. Hartford, CT Lines: 18 Keywords: C In article <264@mit-eddie.UUCP> jbs@mit-eddie.UUCP (Jeff Siegal) writes: >Not exactly true. With the statement separator model (Algol, Pascal), >one is free on insert or remove semi's at the end of the last statement >of a block with both forms being syntactically correct. This does not >work with the statement terminator model (C). This only works if the language allows null statements. Not all of them do. There are even (broken) Pascal compilers which do not allow it. Also, this is fine for blocks, but not in some other contexts: IF a < b THEN a := a + 1; ELSE b := b + 1; Frank Adams ihpn4!philabs!pwa-b!mmintl!franka Multimate International 52 Oakland Ave North E. Hartford, CT 06108