Article View: net.lang.pasca
Article #4Re: THEN ELSE error - (nf)
From: utzoodecvaxharponpoivnpoishouxmh...
Date: Fri, 18 Feb 1983 18:26
Date: Fri, 18 Feb 1983 18:26
20 lines
1279 bytes
1279 bytes
#R:iuvax:-31600:uiucdcs:27900004:000:799 uiucdcs!grunwald Feb 18 17:23:00 1983 Pardon my asking, but why do you have them write it that way to begin with? I can point you to several references in Psychology which demonstrate that people find it difficult to deal with logical negations in a predicate. For example, not(a and b) it much easier to understand than ( (not a) or (not b) ), even though the two are logically equivilent. The comprehension time of a statement phrased with a negation is demonstratably higher than one involving no negation. As to why it doesn't work: The Berkley "pc" compiler has many errors, and you've just found another. I tried it using a modified P4 compiler and it worked just fine. I've come across several errors using "pc" -- I wonder if they tested it with a validation suite or not. Dirk Grunwald University of Illinois
Technical Details
Message-ID:
<bnews.uiucdcs.1507>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
From: utzoo!decvax!harpo!npoiv!npois!houxm!houxa!houxi!houxz!ihnp4!ixn5c!inuxc!pur-ee!uiucdcs!grunwald Newsgroups: net.lang.pasca Title: Re: THEN ELSE error - (nf) Article-I.D.: uiucdcs.1507 Posted: Fri Feb 18 18:26:42 1983 Received: Sun Feb 20 04:29:16 1983 Subject: Re: THEN ELSE error - (nf) Date: Fri, 18 Feb 1983 18:26:42 +0000 Message-ID: <bnews.uiucdcs.1507>