Exits the application.
Syntax |
Description |
---|---|
exit; |
Exits the application. Same as exit(1); This function does not return any data. |
exit(option); |
Exits the application. The option can be
The default option is 1. |
Examples
Exits the application, and prompt user to save data.
exit(1);
See Also