Example 1: Get a window by name and change the title

MAIN
  DEFINE w ui.Window
  CLOSE WINDOW SCREEN
  OPEN WINDOW w1 WITH FORM "customer" ATTRIBUTES(TEXT="Unknown")
  LET w = ui.Window.forName("w1")
  CALL w.setText("Customer")
  MENU "Test"
     COMMAND "exit" EXIT MENU
  END MENU
  CLOSE WINDOW w1
END MAIN