Also, in Oscar's sample, it will make an endless loop that will never end unless you click STOP or press Start/Select. You can replace the 1 with a condition you might want to make terminate the program, such as 'WHILE !BUTTON()==16' which will make the program terminate when you press the A button.