I would say that just because a variable is not defined, doesnt mean its not
there

Take arrays as a primary example

<cfset myArray = ArrayNew(1)>
<cfset myArray[4] = "array 4">

the only variable defined here is myArray[4], but the rest of the elements
are there (I would think), they have just not been assigned a value yet and
are NULL

Steve

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Taco Fleur
Sent: Tuesday, March 09, 2004 3:35 PM
To: CFAussie Mailing List
Subject: [cfaussie] RE: Variables > To destroy or not to destroy?


Hi Mark,

************
Another point is that CF does not have a facility to destroy variables, I'm
guessing you mean that you are setting the value of a complex object to a
something simple like 0.
************

That's what I have been hearing all along, but a couple of tests with
structDelete(variables, "variableName") and it looked to me like it is
possible to actually destroy a variable. Or am I wrong?

Also, it makes me feel good when I destroy them ;-))

---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004


---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

Reply via email to