Is there some kind of exit statement in haxe? Like
import sys
sys.exit(0)
in Python or
System.exit(0);
in Java?
P.S.: Only need this for sys targets ...
You can use Sys.exit(code)
in sys targets (cpp, cs, hl, java, lua, macro, neko, php, python).
https://api.haxe.org/Sys.html#exit
And for Flash target: flash.system.System.exit(code)
https://api.haxe.org/flash/system/System.html#exit
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With