No, it sure didn't. In the code that Andy just sent, you'd not ever see 
"it exists" in 4.5 because it wasn't a structure. And yeah, you could 
create my.var2 and set it equal to bar, but that would just be another 
local simple variable. You couldn't, for example, loop over the keys of 
"my".

*****************
Ken Ferguson
214.636.6126
*****************






Russ wrote:
> How do you know that in cf 4.5 it was a simple variable?  Were you not able
> to do my.var2="bar", etc... doesn't' cf 4.5 automatically create a struct as
> well the way cf mx+ does?
>
>   
>> -----Original Message-----
>> From: Charlie Griefer [mailto:[EMAIL PROTECTED]
>> Sent: Thursday, June 15, 2006 3:34 PM
>> To: CF-Talk
>> Subject: Re: Sticking with CF...
>>
>> on is a "simple variable" and one is a "complex object".
>>
>> yes, they'd be referenced the same...but I think it's worth knowing :)
>>
>> On 6/15/06, Russ <[EMAIL PROTECTED]> wrote:
>>     
>>> What is the difference between those 2?
>>>
>>>       
>>>> -----Original Message-----
>>>> From: Charlie Griefer [mailto:[EMAIL PROTECTED]
>>>> Sent: Thursday, June 15, 2006 2:53 PM
>>>> To: CF-Talk
>>>> Subject: Re: Sticking with CF...
>>>>
>>>> also if you have any variables with periods in the name...
>>>>
>>>> in CF 4.5 <cfset my.var = "foo" /> creates a local variabled called
>>>> my.var.
>>>> in MX+ it'll create a struct called "my" with a key called "var" :)
>>>>         
>> --
>> Charlie Griefer
>>
>> ================================================
>> "...All the world shall be your enemy, Prince with a Thousand Enemies,
>> and whenever they catch you, they will kill you. But first they must catch
>> you, digger, listener, runner, prince with a swift warning.
>> Be cunning and full of tricks and your people shall never be destroyed."
>>
>>
>>     
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:243667
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=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to