The close application statement closes the current application in the same way choosing the Exit menu item closes an application.
The close application statement closes the current application from within a script. The user can also close the application dictionary by choosing the Exit menu item.
The window and form post scripts for any open windows will be run. These scripts allow the user the opportunity to stop the close process. If any background tasks are running, the close process will be stopped.