MAIN DEFINE cnt INTEGER OPEN WINDOW w WITH FORM "myform" FOR cnt=1 TO 10 DISPLAY BY NAME cnt CALL ui.Interface.refresh() SLEEP 1 END FOR END MAIN