in reply to why doesn't this infinite loop work?
Unless you mean it's literally what you wrote there, which is a syntax error.
-- Dan