[DUG] Object is Object vs Object.Classname = 'Object'

Ross Levis ross at stationplaylist.com
Tue Jan 25 17:46:31 NZDT 2011


Just as a matter of curiosity really, anyone know if there is any difference
in speed for these 2 operations.

 

if abc is TMyObject then

 

and

 

if abc.Classname = 'TMyObject' then

 

?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserver.123.net.nz/pipermail/delphi/attachments/20110125/22cf1220/attachment.html 


More information about the Delphi mailing list