Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Ris on Wed 10/10/2007 15:10:23

Title: parse error operator expected[SOLVED]
Post by: Ris on Wed 10/10/2007 15:10:23
Now i got this.

Error (line 75): Parse error: operator expected.

That line are:

if (font>=0) SetNormalFont(font);

Edit, is solved

(quote)
Because this module is quite old, make sure you turn  off all the game options that Enforce object-based scripting and new-style Strings.
(/quote)

Thanks for SSH, and thanks all.
Title: Re: parse error in RawSetColorRGB
Post by: Gilbert on Wed 10/10/2007 16:05:06
That error may mean that there's some missing/extra ; ( or ) in the script.
Try using the match brace feature of the editor and see if the ( or the ) nearby is matched to the approproiate counterpart.
Title: Re: parse error in RawSetColorRGB
Post by: Ris on Wed 10/10/2007 17:01:46
Ill got fixed it. But there are new problem in
starwars script.

Now i got this.

Error (line 75): Parse error: operator expected.

That line are:

if (font>=0) SetNormalFont(font);

Title: Re: parse error operator expected.
Post by: Pumaman on Wed 10/10/2007 22:25:44
The line you have posted is fine, it's likely that you've got a problem on the previous line. Please post a few lines that surround that one.
Title: Re: parse error operator expected.
Post by: Ris on Wed 10/10/2007 22:39:34
This is solved.