Article View: net.lang.pascal
Article #16if-then-else
From: utzoodecvaxdukeuncmcncncsumauney
Date: Sat, 12 Feb 1983 16:37
Date: Sat, 12 Feb 1983 16:37
8 lines
547 bytes
547 bytes
The problem with
if <cond> then (*nothing*) else <something>
is that Berkeley's compiler (incorrectly) requires a non-null
statement in the 'then' portion. placing an empty begin-end pair
will fix the problem.
Jon Mauney
Technical Details
Message-ID:
<bnews.ncsu.1086>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
From: utzoo!decvax!duke!unc!mcnc!ncsu!mauney Newsgroups: net.lang.pascal Title: if-then-else Article-I.D.: ncsu.1086 Posted: Sat Feb 12 16:37:51 1983 Received: Sun Feb 13 07:58:33 1983 Subject: if-then-else Date: Sat, 12 Feb 1983 16:37:51 +0000 Message-ID: <bnews.ncsu.1086>