On Thu, Nov 19, 2009 at 4:18 AM, Jonas Maebe <jonas.ma...@elis.ugent.be> wrote: > > On 19 Nov 2009, at 07:35, Graeme Geldenhuys wrote: > >> Somebody did once attempt to correct the var parameter to out parameter >> in FillChar, but got to many errors. Probably not a high priority issue, >> so the problem was simply swept under the rug. > > It's not about it not being a high priority problem, it's about it being > fundamentally unfixable (except by using a completely different kind of > declaration, such as a pointer). Again, see the thread on this topic on > fpc-devel: > http://lists.freepascal.org/lists/fpc-devel/2009-November/018532.html > > > Jonas
Out of curiosity, does anybody know how Delphi solves this? I don't remember seeing a warning (having to initialize variables) on FillChar in Delphi... Best regards, Flávio PS. And of course, please disregard my previous comment on this thread ;-) _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal