On 12-11-06 05:23 PM, Michael Van Canneyt wrote:
Also, it contains a flaw, since the buffer is not initialized, and
will contain random data. So the tests at the end will fail and cause
an error. But this has nothing to do with range checking.
const
MyBuffer:Array[0..1] of byte=(0,0);
It should be [0,0] in debugger. @ Runtime before I change it. Check it out.
_______________________________________________
fpc-devel maillist - [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel