Barry, That's my point, if something remains null come GC it's no longer available.
In one instance, the StructKeyExists says no it doesn't exist this part is true. The other case StructKeyList, says that it does exist this part I believe is wrong. Because technically, no memory allocated means it doesn't exist as you stated. Andrew Scott Senior Coldfusion Developer Aegeon Pty. Ltd. www.aegeon.com.au Phone: +613 8676 4223 Mobile: 0404 998 273 -----Original Message----- From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Barry Beattie Sent: Wednesday, 19 September 2007 12:30 PM To: cfaussie@googlegroups.com Subject: [cfaussie] Re: Cannot find key in struct. "The reason being is that Java, as I see it when defining something as NULL is telling you that it actually doesn't exist" Andrew, I beg to differ for me NULL tells me that it has uninitialized memory allocated to it. It has memory but no value. Coming from a Microsoft world, this is especially important if you're dealing with late verses early binding when creating and initializing objects. However if you try and use something that doesn't exist - that has no memory allocation - then it *should* throw an error. ColdFusion not having explicit NULL's is just muddying the issue. if it doesn't exist, it's not there. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~----------~----~----~----~------~----~------~--~---