> Doesn't this also depend on what version of CF you are
> using?  Pretty
> sure I got bit in the button this one either when going
> from CF4.5 to
> CF5 or CF5 to CFMX, I believe it was the latter.  I was
> doing
> something like struct.q3 and then looking for that but it
> started
> bombing out after the upgrade.  I'd have to dig up the
> exact file to
> be more specific though.

CFMX will preserve the case of the key if the key is created using
array notation, i.e.

<cfscript>
  st = structnew();
  st["hOmE"] = "home";
  st.aBoUt = "about";
  writeoutput(structkeylist(st));
</cfscript>

This is not the same as case-sensitivity although it can cause
problems in some cases if other code depends on the original behavior
of structure keys being stored (or returned) as upper-case values.

<cfscript>
  st = structnew();
  st["hOmE"] = "home";
  st.home = "home";
  writeoutput(structkeylist(st));
</cfscript>

I don't know if this will change the case of the key, but it won't
produce a 2nd key.

s. isaac dealey     954.927.5117
new epoch : isn't it time for a change?

add features without fixtures with
the onTap open source framework

http://macromedia.breezecentral.com/p49777853/
http://www.sys-con.com/story/?storyid=44477&DE=1
http://www.sys-con.com/story/?storyid=45569&DE=1
http://www.fusiontap.com


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:195843
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to