set y to 10 on moof (x) return (x * 2) end repeat with i from 1 to 1000 set y to moof (y) end
set y to 10
on moof (x)
return (x * 2)
end
repeat with i from 1 to 1000
set y to moof (y)