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


    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