Os.exit

From GiderosMobile
Revision as of 14:32, 13 July 2023 by Hgy29 (talk | contribs) (Text replacement - "</source>" to "</syntaxhighlight>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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