Difference between revisions of "Os.exit"
From GiderosMobile
Line 10: | Line 10: | ||
=== <translate>Parameters</translate> === | === <translate>Parameters</translate> === | ||
'''code''': (string) <translate>exit code</translate> '''optional'''<br/> | '''code''': (string) <translate>exit code</translate> '''optional'''<br/> | ||
+ | |||
+ | {{Os}} |
Revision as of 22:01, 11 February 2020
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