Graeme Geldenhuys schrieb:
> Florian Klaempfl wrote:
>> If hints are really important, they would be warnings.
> 
> And working with a uninitialized data structure is a good thing? I think
> not. So, like everybody else, I manually initialise my data structures -
> and because of my efforts to write safer code, the compiler gives me a
> hint "variable does not seem to be initialized". The exact opposite of
> what I was trying to do. So that hint is useless, after I really did fix
> the potential problem in code. The problem is simply FillChar that uses
> the wrong parameter type - var instead of out.

Out is not made to solve such problems but plainly to work with COM/Corba.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to