Synchronize the user interface with the front-end.
ui.Interface.refresh()
The ui.Interface.refresh() class method forces a synchronization of the abstract user interface tree with front-end .
By default, during an interactive instruction like DIALOG, the AUI tree is refreshed automatically when the runtime system gets the control back after user code execution. There is no need to call the refresh method in regular code.
FOR i=1 TO 10 DISPLAY i TO step_num CALL ui.Interface.refresh() SLEEP 1 END FOR