If the button pin is pulled LOW in an idle state ,active HIGH. You could use WHILE/WEND.
Code:
WHILE
BUTTON  = 1
DO SOMETHING
WEND