Why wouldn't you simply do...

<cfscript>
     var foo = "bar";
</cfscript>

?

But yes, you still have to var scope them.

Sent from my iPhone

On Feb 1, 2010, at 10:46, "Chad Gray" <cg...@careyweb.com> wrote:

>
> When putting cfscript in a CFC function do you need to use <cfset  
> 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

Reply via email to