This wiki is out of date, use the continuation of this wiki instead

Exit

From FenixWiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 00:43, 30 April 2007 (edit)
Sandman (Talk | contribs)
m
← Previous diff
Current revision (00:31, 19 December 2007) (edit) (undo)
Sandman (Talk | contribs)
m
 
(2 intermediate revisions not shown.)
Line 1: Line 1:
[[Category:functions]] [[Category:functions]]
-[[Category:initialization]]+[[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() •
Personal tools