Very simple script - why isn't it working?

I found a tutorial that I can actually follow and understand here

It made sense and I felt like I was learning. I was ready to jump for joy with my first bit of functional code. I followed the code exactly, typing it manually and then saw the error messages in Unity.

It keeps asking me to add a semicolon at 5,26
Right in the middle of the Vector3 pos variable.

I copied and pasted the original code into a separate script and tried that but even the original script does the same thing.
What’s going on?

Thanks for reading.

The Code in question…

var myCube : GameObject;
 function Start()
	var pos : Vector3(0,0,0);
	var rot : Quaternion = Quaternion.identity;
	Instantiate(myCube, pos, rot);
function Update()

The line should read:

var pos : Vector3 = Vector3(0,0,0);

You can also do:

var pos : Vector3 =;