Where has the delay gone?

Okay thanks for that I'll have a read.

Out of interest, do you know why the delay code doesn't work? Can you only put an integer into a delay() function?