- This wiki is out of date, use the continuation of this wiki instead
Exit
From FenixWiki
(Difference between revisions)
Revision as of 23:55, 25 April 2007 (edit) Sandman (Talk | contribs) m ← Previous diff |
Current revision (00:31, 19 December 2007) (edit) (undo) Sandman (Talk | contribs) m |
||
(3 intermediate revisions not shown.) | |||
Line 1: | Line 1: | ||
[[Category:functions]] | [[Category:functions]] | ||
- | [[Category: | + | [[Category:programinteraction]] |
==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() • |