On 10/29/2014 01:27 PM, Michael Schnell wrote:
I forgot:
...(b1) you can't assign a ref counted object to a variable of the not
ref counted type brand: this will result in a runtime error (as the ref
counted TObject type can hold not ref-counted objects by ref-count = -1)
...(b2) you can assign a ref counted object to a variable of the not ref
counted type brand, if the source has ref-count = -1.
-Michael
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel