Assets/MELLE.js(1,15): BCE0044: unexpected char: ';'.

#pragma strict;

var TheDammage : int = 50;
var Distance : float;

function; Update; ()
{
     if (Input.GetButtonDown("Fire1"))
     {
         Var hit: RaycastHit;
         if (Physics.Raycast (Transform.positon, transform.TransformDirection(Vector3.forward), hit))
         {
             Distance = hit.distance;
             hit.transform.SendMessage("ApplyDammage", TheDammage, SendMessageOptions.DontRequireReceiver);
        }
    }
}

This is a code I made for a melee damage action. I do not know what is wrong can someone help?

Remove the ‘;’ from the end of the first line. A #pragma does not use a semicolon.