Say I have a cfc instance, and the name of a method I want to call is in a
cf variable. Is there any way to call that method of that object instance?
Like this:
<cfset my_obj = CreateObject("component", "car")>
<cfset method = "blow_horn">
I'd like to do something like this blatantly illegal code:
<cfset my_obj[method]()>
Is anything like this possible? How?
Thanks,
Dave Merrill
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to
[email protected] with the words 'unsubscribe cfcdev' as the subject of the
email.
CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting
(www.cfxhosting.com).
An archive of the CFCDev list is available at
www.mail-archive.com/[email protected]