> > <cfset registrant = structNew()>
> > <cfset registrant.emergencyPhone = structNew()>
> > etc
>
>
> In CF5, if not setting (sub)structs like this, i.e.
>
> <cfset registrant = structNew()>
> <cfset registrant.emergencyPhone.countrycode = "1">
>
> What kind of variable is "emergencyPhone.contrycode"?  Has CF
> created a
> struct at that level or is it just a variable with a period
> in its name?
>

It's a variable with a dot in the name. And it's confusing cuz it looks like
a struct but isn't. So just don't do it. :)
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to