> StructDelete(structure, key) :)
> 
> If you wanted to clear the structe you COULD
> 
> <CFLOOP COLLECTION="structFoo" ITEM="i">
>       <CFSET StructDelete(structFoo, i)>
> </CFLOOP>
> 
> And you are left with a mere shell of
> the structure you once had <G> :)
> 
> Or you can use StructClear which clears
> out the *data* only.

Looping over the structure and deleting each member with StructDelete will
be equivalent to using StructClear, which deletes all keys and values from
within the structure. CF doesn't have a way of representing uninitialized
variables - variables without values.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to