Faulty Error Message? What's going on??

What’s up with this error message? It’s telling me to put a semicolon at the end of a line, because it expected a semicolon. Problem is, there IS a semicolon there, and it keeps telling me to put a semicolon there. What’s up with it?

Here’s a screenshot of the code with the line in question highlighted, then of the error message.

120581--4568--$picture_2_180.png
120581--4569--$picture_3_191.png

Try:

var p: Vector3;

Edit:

Sorry, I’ll explain. Javascript handles variable declaration in a different format than C#. In most (all?) cases, you’ll use:

var variableName : variableType;

You would give a variable an initial value by adding “= value;” after the type, like this:

var age : int = 5;

Hope that helps.

OMG of course, the variable type. Thanks so much!