Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Scummbuddy on Tue 10/06/2003 02:33:44

Title: Missing Braces Problem. Bring crafty eyes.
Post by: Scummbuddy on Tue 10/06/2003 02:33:44
************Compile Error **************

There was an error compiling your script.  The problem was in 'Main Script':
Runtime error:  Function still open; missing }

*************************************

After several times of relooking over my code (some of which is from an old LucasFan's free code, some mine) I am stuck without a clue as to where my problem lies.  I have to submit/post several replies for my code is too long ( I found that out the hard way).  I've totally reogranized it which should make searching fun and easy.  well, easy, at least...

Thanks for looking.... if you want to, anyways...

*Edited to take out code.  Problem solved.
Title: Re:Missing Braces Problem. Bring crafty eyes.
Post by: Ghormak on Tue 10/06/2003 08:07:33
Ayup, it seems to me like the function interface_click(int interface, int button)  function is still open. Just put one more } at the very end of it all and it should work.
Title: Re:Missing Braces Problem. Bring crafty eyes.
Post by: Scummbuddy on Tue 10/06/2003 19:00:10
Thank you. I don't know what is wrong with me.  Now I've got an even bigger problem, but I'll check it out.  Thanks.
Title: Re:Missing Braces Problem. Bring crafty eyes.
Post by: Spyros on Tue 10/06/2003 21:01:25
Whenever  i have such problems I paste my script to an editor like ultra edit which has a "match brackets" tool. It really helps