A space perhaps?. If you set values with struct.key, the keys in the dump
are always capitalised. These values were set using the struct["key"]
syntax, which supports non-variable name keys

Blair

On Thu, Dec 9, 2010 at 3:51 PM, Cassie Woolley
<[email protected]>wrote:

> What is interesting is that in your dump there are 2 values inside the
> struct that apparently appear to be called “contactsettinginverse” (see 3
> rd from the bottom).  And the first one appears out of alphabetical order,
> indicating there is something odd about the first one.
>
>
>
> *From:* [email protected] [mailto:[email protected]] *On
> Behalf Of *Andy Heng
> *Sent:* Thursday, 9 December 2010 1:22 PM
> *To:* [email protected]
> *Subject:* [cfaussie] Weird Structure Behaviours
>
>
>
> Hi,
>
>     This is a very particular behaviour occurred and I'm not sure why it is
> the case.
>
>     The code is structured in the following:
>
>         <cfset thisReport.qs.contactsettinginverse = 'true' />
>         ...
>         <cfparam name="thisReport.qs.contactsettinginverse" default="false"
> type="boolean" />
>         ...
>         <cfdump var="#thisReport#" />
>         <cfdump var="#thisReport.qs#" />
>         <cfdump var="#thisReport.qs.contactsettinginverse#" abort="true"/>
>
>     (The result of this on the browser is given on the attached image.)
>
>     And here the weird thing appeared.
>
>     In the first dump and second dump, it shows that
> thisReport.qs.contactsettinginverse = true.
>     But when I attempt to dump thisReport.qs.contactsettinginverse directly
> on the third dump, it returned false
>
>     So yer, I wonder if someone can spot what I did wrong because I have no
> clue what went wrong here.
>
>          Thanks, Andy
>
> --
> You received this message because you are subscribed to the Google Groups
> "cfaussie" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<cfaussie%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/cfaussie?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups
> "cfaussie" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<cfaussie%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/cfaussie?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to [email protected].
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