begin
{$PUSH}
{$HINTS OFF}
 FillChar(x,count,Value);
{$POP}
end;
Shouldn't this code too raise a warning?
No, that's what the {$HINTS OFF} is used for - hiding the compiler hints
& warnings.

But isn't the warning raised when x is used as a parameter of a function? The 
problem is, that fillchar is not considered to be an initialization of x. So 
when using x it is still considered uninitialized.


_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to