Os.exit: Difference between revisions

From GiderosMobile
No edit summary
No edit summary
Line 1: Line 1:
__NOTOC__
__NOTOC__
<languages />
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
'''<translate>Class</translate>:''' [[Special:MyLanguage/os|os]]<br/>
'''<translate>Class</translate>:''' [[Special:MyLanguage/os|os]]<br/>

Revision as of 08:58, 3 September 2018


Available since: Gideros 2011.6
Class: os

Description

Calls the C function exit, with an optional code, to terminate the host program. The default value for code is the success code.

 os.exit(code)

Parameters

code: (string) exit code optional