<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Florian Klaempfl wrote:
<blockquote cite="mid:4AE70341.5010106@freepascal.org" type="cite">
<pre wrap="">Paul Ishenin schrieb:
</pre>
<blockquote type="cite">
<pre wrap="">I have compared what d2010 TObject has and found a few differences:
1. Dispatch method is virtual
2. new method: class function UnitName: string;
3. new method: function Equals(Obj: TObject): Boolean; virtual;
4. new method: function GetHashCode: Integer; virtual;
5. new method: function ToString: string; virtual;
Documentation:
<a class="moz-txt-link-freetext" href="http://docwiki.embarcadero.com/VCL/en/System.TObject.Dispatch">http://docwiki.embarcadero.com/VCL/en/System.TObject.Dispatch</a>
<a class="moz-txt-link-freetext" href="http://docwiki.embarcadero.com/VCL/en/System.TObject.UnitName">http://docwiki.embarcadero.com/VCL/en/System.TObject.UnitName</a>
<a class="moz-txt-link-freetext" href="http://docwiki.embarcadero.com/VCL/en/System.TObject.Equals">http://docwiki.embarcadero.com/VCL/en/System.TObject.Equals</a>
<a class="moz-txt-link-freetext" href="http://docwiki.embarcadero.com/VCL/en/System.TObject.GetHashCode">http://docwiki.embarcadero.com/VCL/en/System.TObject.GetHashCode</a>
<a class="moz-txt-link-freetext" href="http://docwiki.embarcadero.com/VCL/en/System.TObject.ToString">http://docwiki.embarcadero.com/VCL/en/System.TObject.ToString</a>
Which of that changes are welcome for FPC?
</pre>
</blockquote>
<pre wrap=""><!---->
Since we opened the d2010 can of worms anyways, I think all would be
accepted.
</pre>
</blockquote>
Yes, but..<br>
Canned food can contain preservatives that are not always healthy.<br>
The ToString Javaism is poorly implemented in Delphi. I suggest that
objfpc mode should be based on json or similar standards, which are
already available. Not just rtti writeouts.<br>
</body>
</html>