RE: var scoping cfscript in a CFC

2010-02-01 Thread Chad Gray

Sure, that would read better.

Thanks!


-Original Message-
From: Matt Quackenbush [mailto:quackfu...@gmail.com] 
Sent: Monday, February 01, 2010 11:54 AM
To: cf-talk
Subject: Re: var scoping cfscript in a CFC


Why wouldn't you simply do...


 var foo = "bar";


?

But yes, you still have to var scope them.

Sent from my iPhone



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330308
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: var scoping cfscript in a CFC

2010-02-01 Thread Matt Quackenbush

Why wouldn't you simply do...


 var foo = "bar";


?

But yes, you still have to var scope them.

Sent from my iPhone

On Feb 1, 2010, at 10:46, "Chad Gray"  wrote:

>
> When putting cfscript in a CFC function do you need to use  var foo = ""> on variables created in the cfscript?
>
> Thanks,
> Chad
>
>
> 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330307
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


var scoping cfscript in a CFC

2010-02-01 Thread Chad Gray

When putting cfscript in a CFC function do you need to use  
on variables created in the cfscript?

Thanks,
Chad


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330306
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4