[fpc-pascal] default value of a sub range field produces No range Check error
leledumbo_cool at yahoo.co.id
Fri Oct 16 03:31:34 CEST 2015
> the fact that it raises NO range check error during Create and the first
> writeln seems weird.
Line 16 (Inc statement) should raise one (ensure you're compiling with the
correct option, by default range checking is off), the others shouldn't.
Range check occurs on write, not read.
View this message in context: http://free-pascal-general.1045716.n5.nabble.com/default-value-of-a-sub-range-field-produces-No-range-Check-error-tp5722908p5722909.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.
More information about the fpc-pascal