Thread View: net.lang.pasca
1 messages
1 total messages
Started by utzoodecvaxharponpoivnpoishouxmh...
Fri, 18 Feb 1983 18:26
Re: THEN ELSE error - (nf)
Author: 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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads