Uwe Raabe 2168 Posted 8 hours ago 1 minute ago, HeartWare said: isVisible:=Assigned(Foo) and Foo.Visible That crashes when Foo = nil and Short-Circuit Boolean Evaluation is off. 1 Share this post Link to post
HeartWare 8 Posted 8 hours ago 5 minutes ago, Uwe Raabe said: That crashes when Foo = nil and Short-Circuit Boolean Evaluation is off. Yes, but who turns that off? Much code (even in System units) will fail with that setting off, and lots of code will be executed unnecessarily (and may even produce wrong results since it isn't supposed to be called). 2 Share this post Link to post