so, like his question, does that muck things up at all? memory wise? just wondering.
also, does it spell out the lack of need for structClear() ..tony Tony Weeg Senior Web Developer Information System Design Navtrak, Inc. Fleet Management Solutions www.navtrak.net 410.548.2337 -----Original Message----- From: Raymond Camden [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 18, 2002 10:36 AM To: CF-Talk Subject: RE: does StructNew() destroy old structure completely? structNew will kill the old data. ======================================================================= Raymond Camden, ColdFusion Jedi Master for Hire Email : [EMAIL PROTECTED] Yahoo IM : cfjedimaster "My ally is the Force, and a powerful ally it is." - Yoda > -----Original Message----- > From: Gyrus [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, September 18, 2002 9:50 AM > To: CF-Talk > Subject: does StructNew() destroy old structure completely? > > > I've got a structure in the Application scope that I use to > store different > types of information, depending on circumstances. > > When the structure's contents need replacing, I just initiate > the process > with > > <cfset myStruct = StructNew()> > > My question is: if 'myStruct' already contains a set of > key-value pairs, > will StructNew() clear it completely, allowing for totally > new key-value > pairs? Or could there be problems along the way? > > My tests seem to indicate the former, but I keep wondering whether > StructClear() is necessary here or not. > > - Gyrus > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > - [EMAIL PROTECTED] > work: http://www.tengai.co.uk > play: http://www.norlonto.net > - PGP key available > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > ______________________________________________________________________ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

