<p>Am 31.12.2013 00:48 schrieb "Dmitry Boyarintsev" <<a href="mailto:skalogryz.lists@gmail.com">skalogryz.lists@gmail.com</a>>:<br>
><br>
> Some new syntax has to be introduced to avoid the warning. Something like:<br>
><br>
> type<br>
> TMyRec = record<br>
> record procedure Print;<br>
> end;<br>
> <br>
> record procedure TMyRec.Print;<br>
> begin<br>
> writeln('foo');<br>
> end;</p>
<p>We don't need a new syntax for something that already works:</p>
<p>=== code begin ===</p>
<p>type<br>
TMyRec = record<br>
class procedure Print; static;<br>
end;</p>
<p>class procedure TMyRec.Print;<br>
begin<br>
writeln('foo');<br>
end;</p>
<p>begin<br>
TMyRec.Print;<br>
end.</p>
<p>=== code end ===</p>
<p>Regards,<br>
Sven</p>