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.

Jeremy

-----Original Message-----
From: Jamie Keane [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 01, 2000 11:02 AM
To: [EMAIL PROTECTED]
Subject: Re: StructClear


StructClear destroys struct keys.  As for deleting structures altogether,
I'm not sure.  Surely there's got to be a way to unset variables, right?

--
Jamie Keane
Programmer
SolutionMasters, Inc.
9111 Monroe Rd., Suite 100
Charlotte, NC  28270
www.solutionmasters.com
704.563.5559 x 228  Voice
704.849.9291  Fax
-----Original Message-----
From: Stas Newdel <[EMAIL PROTECTED]>
To: CFTalk <[EMAIL PROTECTED]>
Date: Friday, September 01, 2000 3:44 AM
Subject: StructClear


>Does StructClear reset keys in a structure to be blank, or does it remove
>the keys? Also, what's a function to get rid of a structure altogether?
>
>Thank you
>
>
>---------------------------------------------------------------------------
---
>Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
>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.

----------------------------------------------------------------------------
--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
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.

------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
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