> I have the following function in cfscript:
>
> function formatQueryString(query,variable,value){
>
> and want to add a 4th parameter that is not required and defaults to
> true. I don't want to have to find all of the place that I have used
> this and change the function call to include the 4th parameter.
>
> How can I do this. When I try I get errors saying that the
> 4th parameter has been left out.Check the length of the Attributes array in the function, if it's less than 4, then set the 4th parameter to be nothing All done in the function itself Philip Arnold Technical Director Certified ColdFusion Developer ASP Multimedia Limited Switchboard: +44 (0)20 8680 8099 Fax: +44 (0)20 8686 7911 www.aspmedia.co.uk www.aspevents.net An ISO9001 registered company. ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ********************************************************************** -- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED]
