Exception Handling

BlitzMax Forums/BlitzMax Programming/Exception Handling

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.

Isn't this a bit inconsistent? Assert is suposed to generate a 'RuntimeError' if the condition is false, surprisingly the error message generated by the BlitzMax compiler is 'unhandled exception', even when the assert is happening inside a exception-hanlded area. This is very confusing. Does anybody understand why assert doesn't really THROW a real exception when the condition is false, instead of fakeing a false unhandled exception? I'm not sure if I am missing something or there is a strange behaviour on the exceptions area.