I have the folowing situation. I have code with while looop which call 1 procedure. In this procedure i need to put code that will wait for the user to click on the button and then continue working.
while 1 do
wait for user to click on the button and continue