Need Help fixing this Code

void loop()
{
  int sensorValue;
  sensorValue = analogRead(0);
}

loop() looks good, if a little pointless - can't see any problems there.

What is all the code that isn't in a function supposed to do?

  Delay(1000);

I can't see the definition of "Delay()" - what is it?