Why does this work?

BlitzMax Forums/BlitzMax Programming/Why does this work?

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.

In release you are taking away the checking by not doing debug mode. Thats the whole point, you should use debug to check for bugs like this and then release mode when you're sure YOUR code is safe.

In the past writing to an undefined offset in an empty array would've written somewhere in memory and caused a crash.