<font face="verdana,sans-serif">you told correclty what i was trying to say wrongly.... =)<br clear="all"></font><font face="verdana, sans-serif">________________________________<br>William de Oliveira Ferreira<br>Bacharel em Sistemas de Informação</font><br>
<br><br><div class="gmail_quote">2012/2/8 Sven Barth <span dir="ltr"><<a href="mailto:pascaldragon@googlemail.com">pascaldragon@googlemail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Am 08.02.2012 04:23, schrieb William Oliveira Ferreira:<div class="im"><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I agree that a comment in front of the deprecated would be good to the<br>
uninformed as me, but I also do not want to seem boring. I wish<br>
developers would focus on tools for debugging, but follow the road map<br>
and I see good things to come.<br>
</blockquote>
<br></div>
A comment in front of the deprecated won't be good, but a string behind the deprecated would be nice ;) (for the reason see below)<br>
<br>
=== example begin ===<br>
<br>
program deprecatedtest;<br>
<br>
type<br>
TTest = class<br>
fFoo: String;<br>
property Foo: String read fFoo; deprecated 'I''m not needed anymore';<br>
end;<br>
<br>
var<br>
t: TTest;<br>
begin<br>
t := TTest.Create;<br>
Writeln(t.Foo);<br>
end.<br>
<br>
=== example end ===<br>
<br>
=== output begin ===<br>
<br>
PS P:\tests\oneshots> fpc .\deprecatedtest.pas<br>
Free Pascal Compiler version 2.6.0 [2011/12/25] for i386<br>
Copyright (c) 1993-2011 by Florian Klaempfl and others<br>
Target OS: Win32 for i386<br>
Compiling .\deprecatedtest.pas<br>
deprecatedtest.pas(15,13) Warning: Symbol "Foo" is deprecated: "I'm not needed anymore"<br>
Linking deprecatedtest.exe<br>
16 lines compiled, 0.1 sec , 28608 bytes code, 1964 bytes data<br>
1 warning(s) issued<br>
<br>
=== output end ===<br>
<br>
Regards,<br>
Sven<div class="HOEnZb"><div class="h5"><br>
<br>
--<br>
______________________________<u></u>_________________<br>
Lazarus mailing list<br>
<a href="mailto:Lazarus@lists.lazarus.freepascal.org" target="_blank">Lazarus@lists.lazarus.<u></u>freepascal.org</a><br>
<a href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus" target="_blank">http://lists.lazarus.<u></u>freepascal.org/mailman/<u></u>listinfo/lazarus</a><br>
</div></div></blockquote></div><br>