- This wiki is out of date, use the continuation of this wiki instead
Exit
From FenixWiki
(Difference between revisions)
Revision as of 00:25, 26 June 2007 (edit) Sandman (Talk | contribs) m ← Previous diff |
Current revision (00:31, 19 December 2007) (edit) (undo) Sandman (Talk | contribs) m |
||
(One intermediate revision not shown.) | |||
Line 3: | Line 3: | ||
==Definition== | ==Definition== | ||
- | '''INT''' exit ( <'''STRING''' message> , <'''INT''' code> ) | + | '''INT''' exit ( [<'''STRING''' message>] , [<'''INT''' code>] ) |
Exits the program. It can optionally pass a message or an error code thing. | Exits the program. It can optionally pass a message or an error code thing. | ||
Line 10: | Line 10: | ||
{| | {| | ||
- | | '''STRING''' message || - A message to pass outside the program as it exits. | + | | ['''STRING''' message] || - A message to pass outside the program as it exits. |
|- | |- | ||
- | | '''INT''' code || - A code to pass outside the program as it exits. | + | | ['''INT''' code] || - A code to pass outside the program as it exits. |
|} | |} | ||
== Returns == | == Returns == | ||
'''INT''' : [[true]] | '''INT''' : [[true]] | ||
+ | |||
+ | {{Funcbox | ||
+ | | category=Programinteraction | ||
+ | }} |
Current revision
[edit] Definition
INT exit ( [<STRING message>] , [<INT code>] )
Exits the program. It can optionally pass a message or an error code thing.
[edit] Parameters
[STRING message] | - A message to pass outside the program as it exits. |
[INT code] | - A code to pass outside the program as it exits. |
[edit] Returns
INT : true
Programinteraction Functions | |
• Exit() • Getenv() • Key() • Move_window() • Set_fps() • Set_icon() • Set_mode() • Set_title() • |