Hey Mark - this is pretty interesting. This is the first time I've
used a real use for structFind. Do you mind if I blog this? Or if you
do - let me know and Ill link to it.


On 9/18/07, Mark Mandel <[EMAIL PROTECTED]> wrote:
>
> I use StructFind() a lot - simply because I tend to encapsulate
> struct's behind getter's and setters quite regualrly.
>
> So Inside a CFC you would find me writing:
>
> <cfset thisValue = StructFind(getStruct(), key) />
>
> As ColdFusion doesn't support syntax like:
>
> <cfset thisValue = getStruct()[key] />
>
> Mark
>
> On 9/19/07, Adam Cameron <[EMAIL PROTECTED]> wrote:
> >
> > > If you try and output "struct[key]" and the key doesn't exists that it 
> > > will
> > > error
> >
> > Sure.  As with structFind().
> >
> > Hence my question.
> >
> >
> > > I think maybe you have confused the meaning of your message :)
> >
> > Maybe.  Or maybe... not.
> >
> > --
> > Adam
> >
> >
> > >
> >
>
>
> --
> E: [EMAIL PROTECTED]
> W: www.compoundtheory.com
>
> >
>


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