[fpc-pascal] Array range overflow in properties

Ryan Joseph genericptr at gmail.com
Thu Apr 29 20:14:25 CEST 2021


Is this a bug in properties and I should be getting an error?

type
	TPixel = record
	  components: array[0..3] of byte;
	  property R: byte read components[10] write components[10];
	end;

Regards,
	Ryan Joseph



More information about the fpc-pascal mailing list