Error ";" expected

I am trying to make a simple character controller using iTween and this is my script so far:
#pragma strict

float v;
float h;

function Start () {


function Update () {
	v = Input.GetAxis("Vertical");
	h = Input.GetAxis("Horizontal");
	if (v > 0.1){
	if (v < -0.1){
	if (h > 0.1){
	if (v < -0.1){

The error I’m getting is this:

Assets/Move.js(3,6): UCE0001: ‘;’ expected. Insert a semicolon at the end.

Assets/Move.js(4,6): UCE0001: ‘;’ expected. Insert a semicolon at the end.

…but I already have semicolons there. What’s going wrong?

You’re mixing C# and Unityscript syntax. In Unityscript, use “var v : float;” to declare a variable as a float. However you should generally not declare variables outside functions if you don’t need to. Remove those lines entirely and declare the variables in Update, namely “var v = Input.GetAxis…”