Example 1: Simple MessageServer usage

MAIN
  CALL base.MessageServer.connect()
  MENU "test"
    COMMAND "send F1" CALL base.MessageServer.send("f1")
    ON KEY (F1) DISPLAY "Key F1 received..."
    COMMAND "quit" EXIT MENU
  END MENU
END MAIN