Handling Errors

BlitzMax Forums/BlitzMax Programming/Handling Errors

You can use Assert.

Only in Debug mode - so fine for testing but not as useful for catching issues in Release mode.

You might look at Try/Catch with Exceptions. There is some documentation about it in the Help section.