class Sys
Available on all platforms
This class gives you access to many base functionalities of system platforms. Looks in [sys] sub packages for more system APIs.
static function exit(code:Int):Void
Exit the current process with the given error code.