Command exit

The command exit is used to cancel the execution of a POSXML application.


In the example above, the display command will run and present a message on screen. The command waitkey is added to wait for user input before continuing. Then the exit command will run and close the application.