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

Zaher Dirkey parmaja at gmail.com
Wed Nov 18 18:23:18 CET 2009


On Wed, Nov 18, 2009 at 6:58 PM, Jonas Maebe <jonas.maebe at elis.ugent.be> wrote:
>
> What is the problem with fillchar? (other than that it prints a wrong hint in some cases.
>

procedure ZeroMemory(Destination: Pointer; Length: DWORD);
begin
  FillChar(Destination^, Length, 0);
end;

There is no var in ZeroMemory so no hint i guess.

-- 
Zaher Dirkey



More information about the fpc-pascal mailing list