Javascript allows you to 'nest' functions in as much as you can create a
method for an object on the fly:

function somefunction(){
 var someObject = new myObject();
 someObject.someOtherFunction = function(){alert("I've just been
created!");}
}

I would not say this was a nested function though (which no languages allow
AFAIK).

If you are trying to create a method for an object on the fly as in my js
example, ask that as a separate question on the list and I'm sure someone
will answer (it cannot be done in the same way as javascript). Nested
functions are not possible (cffunction and a cfscripted function are the
same thing).

HTH

Dominic

-- 
Blog it up: http://fusion.dominicwatson.co.uk


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:301457
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