🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.lang.pascal
Article #16

if-then-else

#16
From: utzoodecvaxdukeuncmcncncsumauney
Date: Sat, 12 Feb 1983 16:37
8 lines
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-mail

Show 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>