> Any chance this will ever be possible?
>
> <cffunction ...>
> <cfargument ...>
> <cfscript>
> var x = 1;
> var y = 2;
I don't know the future. ;)
> It always seems to throw the "vars need to specified at the
> top" error, since <cfscript> tag comes first. I'm not really
> sure why 'var' is even a part of cfscript seeing how it can
> never be used.
Well, it is, inside script-based udfs:
<cfscript>
function foo() {
var x = 1;
return x*2;
}
</cfscript>
=======================================================================
Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc
Email : [EMAIL PROTECTED]
WWW : www.camdenfamily.com/morpheus
Yahoo IM : morpheus
"My ally is the Force, and a powerful ally it is." - Yoda
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more
resources for the community. http://www.fusionauthority.com/ads.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4