2009/10/27 Thaddy <tha...@thaddy.com>:
> 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.

Based on the documentation available at Embarcadero, TObject.ToString
is very simple - it just returns the ClassName by default.

------------------------------------
For example, calling System.TObject.ToString on a TButton instance
returns a string containing "TButton".
-------------------------------------

Obviously the developer can override it and return more details, but
by default it's the same as 'ClassName' property


-- 
Regards,
  - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to