>>Although this ... xStruct['#variableWithFieldNameInIt#']
and xStruct[variableWithFieldNameInIt]
works even better.
I'm also wondering the use of this function. ;-/
--
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tags
xStruct['#variableWithFieldNameInIt#'] is also identical to
xStruct[variableWithFieldNameInIt]
On 8/24/06, Jeff Guillaume <[EMAIL PROTECTED]> wrote:
> I haven't used StructFind in a while, but one use might be if you're storing
> the name of the field you want to access in a variable:
>
> structF
Neither have I.. I came across structFind in someone elses code. And yes, my
guess is it's all the same to Java as well.
btw: xStruct[variableWithFieldNameInIt] works just as well and is a little
cleaner if you ask me. =)
Of couse we could always use the Macromedia Livedoc Examples way (*):
--
I haven't used StructFind in a while, but one use might be if you're storing
the name of the field you want to access in a variable:
structFind(xStruct, variableWithFieldNameInIt);
Although this ...
xStruct['#variableWithFieldNameInIt#']
. works too, so I dunno. I'd bet my left leg that t
From: Auke van Leeuwen [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 24, 2006 5:33 AM
To: CF-Talk
Subject: What is the use of structFind? (CFMX)
In CFMX 6+:
I'm just wondering, is there any reason why I would use structFind(
xStruct, 'key' ) over xStruct
In CFMX 6+:
I'm just wondering, is there any reason why I would use structFind( xStruct,
'key' ) over xStruct[key]? or the other way around?
~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-
6 matches
Mail list logo