On Tue, Nov 11, 2008 at 2:31 PM, Won Lee <[EMAIL PROTECTED]> wrote:

> We just upgraded from 7 to 8 and I'm getting some unexpected behavior with
> StructKeyExists.
>
>
>
> I'm pretty sure this worked before:
>
> <cfif structkeyexists(arguments.myStruct,'dp' & daypartID &
> 'max')>..</cfif>
>

structKeyExists(arguments.myStruct, variables['dp' & daypartID & 'max'])

not sure i'd have expected the syntax you used to work (at least, not
without an evaluate()).  don't have any older versions available to test on
tho.

-- 
I have failed as much as I have succeeded. But I love my life. I love my
wife. And I wish you my kind of success.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315111
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to