Difference between revisions of "Os.exit"
From GiderosMobile
Line 6: | Line 6: | ||
os.exit(code) | os.exit(code) | ||
</source> | </source> | ||
+ | === Parameters === | ||
'''code''': (string) exit code '''optional'''<br/> | '''code''': (string) exit code '''optional'''<br/> |
Revision as of 11:07, 23 August 2018
Available since: Gideros 2011.6
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