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 10:51, 22 April 2007 (edit)
Woody (Talk | contribs)

← Previous diff
Current revision (00:31, 19 December 2007) (edit) (undo)
Sandman (Talk | contribs)
m
 
(5 intermediate revisions not shown.)
Line 1: Line 1:
[[Category:functions]] [[Category:functions]]
 +[[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() •
Personal tools