HELP!!, what's wrong??.

Write here if you have problems with your Pascal source code

Moderator: Board moderators

Post Reply
_.B._
Experienced poster
Posts: 160
Joined: Sat Feb 07, 2004 7:50 pm
Location: Venezuela
Contact:

HELP!!, what's wrong??.

Post by _.B._ »

Greetings!.
Before I go insane, can anyone tell me what am I doing wrong??.
I compile the programs with Free Pascal, and they seem to be fine, and running, but I've received this message for 3 different problems:
Here are the compiler error messages:

Free Pascal Compiler version 1.0.6 [2002/05/23] for i386
Copyright (c) 1993-2002 by Florian Klaempfl
Target OS: Linux for i386
Compiling 02341363_24.p
02341363_24.p(14,3) Fatal: Syntax error, BEGIN expected but as found
What is that supposed to mean??.
If my code can make the difference, I will post it if asked.
Thanks in advance, and post here!, don't forget many of us use Pascal.

Bernardo L.
http://mipagina.cantv.net/bernardolg/
_.B._
Experienced poster
Posts: 160
Joined: Sat Feb 07, 2004 7:50 pm
Location: Venezuela
Contact:

EUREKA!!.

Post by _.B._ »

Finally!!.
Thanks God I realized what it was!!.
The message
BEGIN expected but as found
didn't mean "but as found", it meant "but 'AS' found". AS instead of BEGIN!!.
I didn't know "as" was a reserved word for the OnLineJudge!!.
Can anyone tell me where to find the reserved words for it??.
Thanks in advance.

Bernardo L.
http://online-judge.uva.es/cgi-bin/Onli ... Info:42085
Post Reply

Return to “Pascal”