- This wiki is out of date, use the continuation of this wiki instead
Exit
From FenixWiki
(Difference between revisions)
Revision as of 15:13, 22 April 2007 (edit) Woody (Talk | contribs) ← Previous diff |
Current revision (00:31, 19 December 2007) (edit) (undo) Sandman (Talk | contribs) m |
||
(4 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. | ||
- | |||
== Parameters == | == Parameters == | ||
{| | {| | ||
- | | '''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 == | ||
+ | '''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() • |