Quote Originally Posted by enigma View Post
Hi All

Anyone know of a boundschecker for PBP?. I have just discovered after using PBP for years that you can due to an error in my program, address an array element that doesnt exist and the program will still compile.

Cheers Pete
Yes, it's like this...

MyArraySize con 10
MyArray var byte[MyArraySize]

... code...

if x > MyArraySize then goto errorhandling
MyArray[x] = y