> > a tad OT now so I'll leave it there :-) Ok, you baited me!
> > finally > > myObj.free; > > What if myObj gets passed out of the function ? That would be poor programming practice :-) Just like CF, Java and most other popular programming languages there are best practices for that language. Best practices for object creation/destruction dictate that your create/free should be able to cover the entire life of the object so if you wanted to persist an object over multiple function calls or you had a factory that created object instances, you'd use something like a list to keep track of them as part of the object factory. Just as you would use an array or struct in ColdFusion. > > > the pain away. Delphi gives you the choice :-) Anyway, this is all > getting > > a tad OT now so I'll leave it there :-) > > It's always on topic to show how much better ColdFusion is :-) > Not better. Just different. Besides I don't think I've ever seen a Win32 app written in CF :-). But I have seen a CF apps that needed to use Delphi or C++, although admittedly, since CFMX that is becoming less and less common :-) Paul ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290779 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

