Quit

From REALbasicWiki

Jump to: navigation, search

Contents

[edit] Prototype

Sub Quit()

Sub Quit(status as Integer) (console applications only)

[edit] Description

The Quit method attempts to quit the running application.

[edit] Discussion

Quit may not actually quit the application. The quit process can be cancelled in a Application.CancelClose or Window.CancelClose event handler.

When the Quit method is called, an EndException is raised.


[edit] Sample Code

Quit
Personal tools
related