Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Willdon on Wed 21/04/2010 13:03:41

Title: question about AGS display text.
Post by: Willdon on Wed 21/04/2010 13:03:41
My AGS is displaying an error like the following on line -10

room1.asc(-10): Runtime error: Function still open, missing }


7   function hTV_Look()
8   {
9   Display("Looks like an old tv here...");
10 }


I have a }. lol. Any ideas?
Title: Re: question about AGS display text.
Post by: Khris on Wed 21/04/2010 13:45:12
Line -10 is "code" for an unterminated string; you've probably forgotten a " somewhere in the first few lines.