🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: net.lang.pascal
1 messages
1 total messages Started by utzoodecvaxcwruecmpmcguire Sat, 12 Feb 1983 13:26
if_then_else problem
#15
Author: 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
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