Return Status Code

BlitzMax Forums/BlitzMax Programming/Return Status Code

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Is there any way to return a specified status code from blitzbasic? It seems that "End", "RuntimeError", and "Return <val>" always return 1 as their ending status code.

I seriously need some control over this to use blitzbasic for commandline tools in a pipeline.