hi,
i have a slight problem here.

i have a form with one start and one stop button. When you click the start button i want to execute a routine over and over again till the stop button is pressed.

i dont know how to do the while loop. should i put it in a function and trigger that on Buttonclick?
i hope you can help me out here!