Re: [fpc-pascal] with no if assigned() there are bugs

2016-09-20 Thread Tomas Hajny
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 th

Re: [fpc-pascal] with no if assigned() there are bugs

2016-09-20 Thread Michael Van Canneyt
On Tue, 20 Sep 2016, Lars wrote: 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. Before you write me off as just another person requesting yet another silly feature (it may in fact be t

[fpc-pascal] with no if assigned() there are bugs

2016-09-20 Thread Lars
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. Before you write me off as just another person requesting yet another silly feature (it may in fact be that), here is the problem: A lot of "