Why there is error in unity environment while no error in visual studio?

I keep getting an error in unity scene about the used script, while it gives me no error in Visual studio!
Anyone know the reason?
Here are the shots from the scene and VS:

Because of the way the visual studio plug in works. In unity it properly compiles the javascript/unityscript into IL through the boo compiler(unless something changed), this is not native to visual studio and could only compile and list errors directly. The Unity Editor is constantly compiling when changes to scripts occur, think of it as getting ahead when you save your changes. Your script is defining variables incorrectly as you have put semi-colons where they do not belong and should be using colons.

var zoom ; int = 20;
var normal ; int = 60;
var smooth ; float = 5;

private ; var isZoomed = false;

Each instance above is using a semi-colon when a colon is required. Change the above to:

var zoom : int = 20;
var normal : int = 60;
var smooth : float = 5;

private var isZoomed = false;