Magna International Interview Question

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