names using bracket notation.
essentially, bracket notation just gives you a bit more leeway with what
we'll just go ahead and call 'poorly formed' key names : )
otherwise, it's really just a matter of which syntax you're more comfortable
with.
----- Original Message -----
From: "Dave Carabetta" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Monday, April 12, 2004 6:43 AM
Subject: RE: Syntax Differences
> >Is there a performance issue with using the following syntax for
> >structures:
> >
> ><cfset session["stcDetail"]["arrivalTime"] = "" />
> >
> >as compared to
> >
> ><cfset session.stcDetail.arrivalTime = "" />
> >
>
> No. The only real difference that I'm aware of between the do is that you
> can preserve key case with the bracket notation (and have key names with
> dots in them), whereas dot notation will upper case the key names.
>
> Regards,
> Dave.
>
>
>
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

