sure, just check the length of the arguments array. If it's greater than the number of arguments you defined in the function declaration, then optional arguments were passed.
~Simon Simon Horwith Macromedia Certified Instructor Certified Advanced ColdFusion 5 Developer Fig Leaf Software 1400 16th St NW, # 500 Washington DC 20036 202.797.6570 (direct line) www.figleaf.com -----Original Message----- From: Jared Stark [mailto:[EMAIL PROTECTED]] Sent: Monday, March 04, 2002 2:40 PM To: CF-Talk Subject: Optional parameters in UDF's Is it possible to have optional parameters in a UDF, and if so, how would I do that? TIA, Jared ______________________________________________________________________ Why Share? Dedicated Win 2000 Server � PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation � $99/Month � Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

