On Mon, 22 Nov 2010, Andrew Brunner wrote:



On Nov 22, 2010, at 9:13 AM, michael.vancann...@wisa.be wrote


The logic is that it is bad programming to use an integer to store a pointer.
And we don't want to encourage bad programming.

Yes, I know it's easy, and yes I know it's common practice. Neither make it 
right to do so.

We'll fix the issue

I was going to disagree with that statement. But after considering it some what then would be the likelihood of getting TComponent to have a Data property of pointer???

That would be my preferred (and already proposed) solution.

Michael.
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to