Allow auto-casting to be enabled/disabled
Posted: Thu Mar 07, 2013 8:53 pm
In another thread (http://www.purebasic.fr/english/viewtop ... =3&t=53761) I have given my opinion of the new auto-casting feature. I believe it should not be a PB feature, but understand that many users want it.
With auto-casting active, the compiler might accept code that would otherwise be flagged as an error. Therefore, I think this feature should normally be disabled, and should only be enabled by means of a positive action by the programmer.
This could be achieved by means of a compiler setting in preferences, or a command such as "EnableAutoCasting" in the source code.
Thanks
With auto-casting active, the compiler might accept code that would otherwise be flagged as an error. Therefore, I think this feature should normally be disabled, and should only be enabled by means of a positive action by the programmer.
This could be achieved by means of a compiler setting in preferences, or a command such as "EnableAutoCasting" in the source code.
Thanks