Hi. I'm having a problem with structkeyexists and hope someone can help me out. 
I'm running CFMX7.0.2 on Apache2.0.59.

I have loaded an XML file into a structure. This structure is then copied using 
duplicate() (let's call the structure "IMS"). A cfdump of this copied structure 
shows the key and value. This example has only one pair. Let's call them 
key=ONE, value=FUBAR.

I can also run a collection loop over this structure and it will print the key 
and value to screen. When I try and use the following line, however,

<cfset abc = structkeyexists(IMS,"ONE")>

and output abc I get the answer NO. It should be YES. isDefined doesn't work 
either.

BUT if I then output that structure to a list (structkeylist) and run a "find" 
over it for "ONE", I get a result.

I don't know what's going on. Can anyone help?

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade & see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281502
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