On Monday, Jul 14, 2003, at 14:32 US/Pacific, Cedric Villat wrote:
> I'm trying to pass a function name via a URL and then call that 
> function. I
> want to do something like this (Assuming mycfc has been created 
> already):
>
> <cfscript>
> mycfc.#url.function#();
> </cfscript>

Try:
        theFunc = mycfc[url.function];
        theFunc();

Sean A Corfield -- http://www.corfield.org/blog/

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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

Get the mailserver that powers this list at 
http://www.coolfusion.com

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to