On Wed, September 21, 2016 07:29, Lars wrote:
Hi, > Hi all, I am wondering what your thoughts are on this > idea: add the ability to do if assigned() on all > objects to prevent bugs, maybe as a compiler feature. . . What would be the supposed "else" clause of your "if" statement? I assume that the original action with the given object should not be ignored silently, because that would lead to even more difficult debugging of such bugs. Run-time error? But that is already happening with access violation too. Or...? Tomas _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal