Hy,i am using AGS 3.01.
i dont't know if this was already changed.
there is a small bug in script debbug output window
when i put
cghoul.say("Hello);
you notice i didn't put " after hello.
the problem is that the debbuger never says its that problem but says something else like:
unrecognized eof or you might have forgotten to close the bracket.
i know this because when i write a long set of codes and enter the game,the debugger says
something else and i keep trying to find the mistake,but now o located the problem and i don't want someone to exerience the same,cheers
It's not exactly a bug, but maybe the compiler could indeed check for line breaks inside strings and suggest a missing ".
yeah,couse its really anyoing,i have to go through all my script to find the mistake couse not that it just gives a wrong problem info but doesnt give you the line number too
I believe it is working correctly, because that is the error that pops up (I think) when you don't put an semicolon on the end of a line (which is what AGS thinks you've done).
~Trent
Sorry, Khris is right. I didn't think I was anyway....
~Trent
No, in that case, AGS says Error (line X) Expected ';'
I've only encountered the eof thing in connection with a missing " yet.
to me sometimes it says: you probably forgot to close the bracket!
then i put " on the right playe when i find its missing and all is fine
(note that it said-missing closing bracket-in the line befoe where there actually is a problem with missing " )
Of course, since CRs are valid in strings and you never close the string, it does actually give the correct error.
oh,so just the eof thing is misplaced then?
that one doesnt even say the line number
The EOF will always be at the End of File. It might be helpful for AGS to mention where the string STARTED, though.