quit | |||||||
Type | command | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Summary | Quits the application. | ||||||
Introduced | 1.0 | ||||||
OS | mac, windows, linux, ios, android | ||||||
Platforms | desktop, server, mobile | ||||||
Parameters |
| ||||||
Example |
| ||||||
Related | Message: shutdownRequest, shutdown Command: kill, close process Glossary: application, command, standalone application, control structure, message Control Structure: if | ||||||
Description | Use the quit command to exit LiveCode (or a standalone application). 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:
To force a quit without sending a shutdownRequest message use:
| ||||||
Tags | windowing |