Adrocknaphobia Jones wrote:
> Any chance this will ever be possible?
>
> <cffunction ...>
> <cfargument ...>
> <cfscript>
> var x = 1;
> var y = 2;
>
> 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.
It can be used:
<cfscript>
function blahblah() {
var x = 1;
.....
Jochem
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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
This list and all House of Fusion resources hosted by CFHosting.com. The place for
dependable ColdFusion Hosting.
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4