Error getting tags :
error 404Error getting tags :
error 404 quit | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
quit
Basics
Expander triangle
Type
Command
Syntax

quit

Introduced
1.0
Environment
Desktop, Web and Server
Platform Support
MacOS,Mac OS X,Windows,Linux
Security
None required
Summary
Quits the application.
Examples

quit
if it is "OK" then
quit
end if

Additional Comments
Expander triangle

Use the quit command to exit Revolution (or a standalone application).

Comments:

Once issued, the quit command triggers a shutdownRequest message. If the shutdownRequest message is not passed then the quit will be blocked (i.e. the program won't close).

If you want to check a condition or ask the user for confirmation before deciding whether to quit, use an if control structure:

on getMeOuttaHere

answer "Are you sure you want to quit?" with "No way" or "OK"

if it is "OK" then

quit

end if

end getMeOuttaHere

To force a quit without sending a shutdownRequest message use:

lock messages

quit

User Comments
Expander triangle