On 4-Apr-07, at 5:06 PM, Norman Palardy wrote: > > On Apr 04, 2007, at 2:49 PM, Frank Condello wrote: > >>>> Dim c1 As New MySubClass >>>> Dim c2 As MySubClass >>>> c2 = MySubClass( c1.Clone ) > > This code works without a cast IF you set the MySubClass up and > override Clone so you're not calling the parent class' Clone method > inadvertently (which is why you'd need the cast)
That's not the point - the fact that this cast *does* work with Object3D subclasses is the point! You can't do this with your own built-in classes and not throw an exception - unless you use some plugin magic apparently, though that's not clear either. Frank. <http://developer.chaoticbox.com/> <http://macgameblog.com/> _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html>
