structKeyExists should be used to determine if a struct has a key.

structFind determines if there is a value for a key in a struct. And
it does NOT have much use IMHO.


On 9/18/07, Steve Onnis <[EMAIL PROTECTED]> wrote:
>
> structFind is used to determine is a structure has a key
>
> If you try and output "struct[key]" and the key doesn't exists that it will
> error
>
> I think maybe you have confused the meaning of your message :)
>
> -----Original Message-----
> From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
> Of [EMAIL PROTECTED]
> Sent: Tuesday, 18 September 2007 10:04 PM
> To: cfaussie
> Subject: [cfaussie] Re: Cannot find key in struct.
>
>
> Hi Chris
> I've never quite understood why people use:
>
> structFind(struct, key)
>
> instead of just
>
> struct[key]
>
> ?
>
> I'm not sure if this would have any bearing on your issue, but it might be
> interesting to see the difference in behaviour.
>
> --
> Adam
>
>
>
>
>
>
> >
>


-- 
===========================================================================
Raymond Camden, Camden Media

Email    : [EMAIL PROTECTED]
Blog      : www.coldfusionjedi.com
AOL IM : cfjedimaster

Keep up to date with the community: http://www.coldfusionbloggers.org

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

Reply via email to