UCE0001: ';' expected.

I am completely stumped on this error. Please tell me what I am doing wrong in this script. The error says I need to place a semi-colon at the end, but I already have. I have in fact saved the script, and restarted unity too. Is my script file corrupted, or should this go under the FixedUpdate() or other function area?

#pragma strict

function Update(){
	var InfoText : GameObject.Find("Building Mode GUIs/Stats GUI/InfoText");
	InfoText.text = "Price: " + PriceAdding;
}

UCE0001: ‘;’ expected. Insert a semicolon at the end.

This is at line “var InfoText:…” I cut out the rest of my script because the script was working rather fine before I added this, and it is very long.

Thank you guys in advance.

var InfoText : GameObject.Find(“Building Mode GUIs/Stats GUI/InfoText”);

I think you meant to do:

var InfoText : GameObject = GameObject.Find("Building Mode GUIs/Stats GUI/InfoText");

You are doing it wrong.
You have to:

Find the GameObject

var go:GameObject = GameObject.Find("gameObjects Name");

Read what it does. Unity - Scripting API: GameObject.Find

GetComponent from script

I explain it very clearly in these two topics.

Make your changes.