While 1 b=button() if b.... ... wend Just use the while instruction with 1 as condition