error with script plz help!

Hi guys

I was learning a pdf tutorial about scripts and there is a code that I had to write so I copied the code from the tutorial and paste it in the script.But then a sentence appears at the bottom bar of unity saying:

"Assets/Move1.js(7,10): BCE0044: expecting (, found 'Update'."

as in this picture: http://www.freeimagehosting.net/image.php?8a543d92c1.jpg

and also when I click on Play A sentence appears saying: "All compiler errors have to be fixed before you can enter playmode!"

Any one knows how to fix this?

Thanks

Well, we cant tell you precisely what is wrong with your script if you dont show us your script.

Oh yes I forgot :D

This is the script that I had to write:

===============================================

var speed = 5.0;

function Update () {

var x = Input.GetAxis("Horizontal") * Time.deltaTime * speed;

var z = Input.GetAxis("Vertical") * Time.deltaTime * speed;

transform.Translate(x, 0, z);

}

===============================================

And if you want you can download the pdf tutorial from here:

http://www.2shared.com/document/l62J0u4m/2_-_Scripting_Tutorial.html

note: the script that I had to write is in page 4.