If I show you the API for a method that looks like:
myCFC.method(string) myCFC.method(string, numeric) myCFC.method(string, numeric, numeric)
The point here - as you acknowledged - is that you can do this with CF as it stands today by using optional arguments on a single method. Furthermore, you can define a method that takes, say, one argument and you can still call it with as many arguments as you want:
<cffunction name="foo" returntype="void">
<cfargument name="a" type="string" required="true" />
<!--- only one official argument! ---> <cfif arrayLen(arguments) eq 10>
<!--- user supplied ten arguments! --->
...
</cfif>
</cffunction>You don't need any sort of overloading feature added to the language to support this.
Sean A Corfield -- http://www.corfield.org/blog/
"If you're not annoying somebody, you're not really alive." -- Margaret Atwood
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the word 'unsubscribe cfcdev' in the message of the email.
CFCDev is run by CFCZone (www.cfczone.org) and supported by Mindtool, Corporation (www.mindtool.com).
