Difference between revisions of "EXIT (function)"

From QB64 Wiki
Jump to navigation Jump to search
imported>Clippy
m (Created page with 'The '''_EXIT''' function indicates if a program user has used the close X button or CTRL + BREAK. * Once the function is called, the program user can no longer manually exit t…')
 
imported>Clippy
m
Line 3: Line 3:




* Once the function is called, the program user can no longer manually exit the program.
* Once the _EXIT function is used, the program user can no longer manually exit the program.
* _EXIT returns:
* _EXIT returns:
:: 0 - no exit request made
:: 0 - no exit request made
Line 9: Line 9:
:: 2 - exit attempted with CTRL + BREAK since last call
:: 2 - exit attempted with CTRL + BREAK since last call
:: 3 - both CTRL+BREAK and the X box have been used since last call
:: 3 - both CTRL+BREAK and the X box have been used since last call
* The program can later handle an exit request at a more convenient time
* The program can handle an exit request at a more convenient time
 
 
 
==Navigation:==
 
[[Keyword_Reference_-_Alphabetical|Go to Keyword Reference - Alphabetical]]
 
[[Keyword Reference - By usage|Go to Keyword Reference - By usage]]

Revision as of 03:52, 1 January 2010

The _EXIT function indicates if a program user has used the close X button or CTRL + BREAK.


  • Once the _EXIT function is used, the program user can no longer manually exit the program.
  • _EXIT returns:
0 - no exit request made
1 - exit attempted by clicking the window X (close) box since last function call
2 - exit attempted with CTRL + BREAK since last call
3 - both CTRL+BREAK and the X box have been used since last call
  • The program can handle an exit request at a more convenient time


Navigation:

Go to Keyword Reference - Alphabetical

Go to Keyword Reference - By usage