G'day,
today I was messing about and wrote this piece of code:
Code: Select all
dim array(10) as integer = {1,6,3,7,2,6,7,9,2,1}
for i as integer = -1000 to 9 step 1
print array(i)
next i
sleep
I expected it to immediately crash due to an out of bounds error, and to my shock, it didn't! I learnt about compiler commands so I assumed that -exx is the one I should add. Now, it does successfully cause the program to crash, but it leaves no error message. I have tried putting in -w all in the compiler command section, but it does not seem to help.

Could someone please help me with this? Additionally, why is -exx not put on by default? This seems dangerous!
Code: Select all
command:"<$fbc>" "<$file>" -exx -w all
run:"<$file>" <$param>