Xojo 2019r2 / Win 10
Why does following code throw a OutOfBoundsException, instead of hard crash?
dim i() as integer #pragma boundschecking false dim x as integer = i(0)
I'm pretty sure I was told by one of the Joes that this is basically a no-op now.
A few years ago we moved some code from RB to Xojo. The RB version worked fine but the Xojo version triggered an OutOfBoundsException. It turned out the RB version should have triggered the exception but was being masked by the pragma and by chance wasn't crashing altogether.