parse error operator expected[SOLVED]

Started by Ris, Wed 10/10/2007 15:10:23

Previous topic - Next topic

Ris

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.

Gilbert

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.

Ris

#2
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);


Pumaman

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.

Ris

#4
This is solved.

SMF spam blocked by CleanTalk