Thanks for that. Sorry, have just realised that I didn't put the correct subject in for this topic.
-----Original Message----- From: Steve Martin [mailto:[EMAIL PROTECTED] Sent: 26 February 2003 14:35 To: [EMAIL PROTECTED] Subject: RE: [ cf-dev ] SQL 2K DSN You can refer to the arguments through the arguments array whether they're declared or not. For example: <cfscript> function testy() { return arrayLen(arguments); } </cfscript> <cfoutput> #testy()#<br> #testy("hi")#<br> #testy("hi", 123)#<br> #testy("hi", 123, "smeee")#<br> </cfoutput> Regs, Steve -----Original Message----- From: Giles Roadnight [mailto:[EMAIL PROTECTED] Sent: 26 February 2003 14:30 To: [EMAIL PROTECTED] Subject: RE: [ cf-dev ] SQL 2K DSN 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. Thanks Giles -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 25 February 2003 17:09 To: [EMAIL PROTECTED] Subject: RE: [ cf-dev ] SQL 2K DSN Ok that worked thanks a lot .... Regards - Paul I fell asleep during the windows authentication / sql authentication bit and ment to read up in the manual ... The course was so slow .... ************************************************************* 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 [EMAIL PROTECTED] The views expressed within this email are those of the individual, and not necessarily those of the organisation ************************************************************* -- ** 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] -- ** 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] -- ** 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] -- ** 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]