[fpc-pascal] Warning: Variable xxx does not seem to be initialized

Dmitry Boyarintsev skalogryz.lists at gmail.com
Tue Dec 31 00:47:17 CET 2013


Some new syntax has to be introduced to avoid the warning. Something like:

type
  TMyRec = record
    record procedure Print;
  end;

record procedure TMyRec.Print;
begin
  writeln('foo');
end;

thanks,
Dmitry

P.S. this message is not as straight forward as it might seem.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20131230/46bd5e28/attachment.html>


More information about the fpc-pascal mailing list