🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.lang.pascal
Article #15

if_then_else problem

#15
From: utzoodecvaxcwruecmpmcguire
Date: Sat, 12 Feb 1983 13:26
14 lines
730 bytes
    Not too long ago someone said he had a problem with the Pascal segment...

if (conditional) then (*skip it*) else (statement)

    I think the problem is that you MUST have a statement between the then
and the else.  you could try...

if (cond) then begin (*skip it*) end else (statement)

    I'm not positive about this so don't tell me if I'm wrong.  If this helps,
you're welcome; if not, sorry.

						Ryan
Technical Details
Message-ID: <bnews.cwruecmp.478>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
From: utzoo!decvax!cwruecmp!mcguire
Newsgroups: net.lang.pascal
Title: if_then_else problem
Article-I.D.: cwruecmp.478
Posted: Sat Feb 12 13:26:52 1983
Received: Sun Feb 13 05:57:44 1983
Subject: if_then_else problem
Date: Sat, 12 Feb 1983 13:26:52 +0000
Message-ID: <bnews.cwruecmp.478>