How to return exit code from Application

BlitzMax Forums/BlitzMax Beginners Area/How to return exit code from Application

Well,

this approach has already been suggested before - but it does not work as it does not pass the exit code to the operating system.

I'm now using the exception-based approach.