For some reason yield is conflicting with my scripts

I am using Boo.
I have this in my script.

	def Update ():
		print(Time.time)
		yield
		#yield WaitForSeconds(5.0)
		print(Time.time)

I place the script in a game object and script is active and DOES work iff I remove the yield statement.

I should see 1 frame delay with the yield statement, but all together my script doesn’t work for some reason.
I remove yield and the time is printed to the console. I don’t know why this is happening and I don’t find anything of this sort around in the docks.

You can’t make Update into a coroutine. Update always runs once every frame without exception and can’t be delayed.

Eric5h5 is right…for using yield use it outside of the update function…go tothis link and Enjoy…Cheers…link text

Don’t forget to tick the answer if helped…