[fpc-pascal] How to solve "variable does not seem to be initialized" compiler hint.

Jonas Maebe jonas.maebe at elis.ugent.be
Thu Nov 19 08:20:53 CET 2009


On 19 Nov 2009, at 08:18, Jonas Maebe 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).

Or by adding support for a different parameter modifier to the  
compiler that has slightly different semantics than the current "out"  
modifier.


Jonas





More information about the fpc-pascal mailing list