Magna International interview question

How would you make an infitite loop? When would you use it?