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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

______________________________________________________________________
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to