View Single Post
  #2 (permalink)  
Old 03-12-2008, 06:39 AM
Erel's Avatar
Erel Erel is offline
Administrator
 
Join Date: Apr 2007
Posts: 2,849
Default

The difference is that in the IDE you will need to add AddObject before the second "New".
There is no difference with the memory usage and the optimized compiler supports this AddObject as well.

The optimized compiler treats AddObject as a compiler directive. So calling it once (with AddObject or with Tools - Add Object) is enough.
Reply With Quote