User Defined Functions (UDF’s) may accept required and optional parameters. To make a parameter required simply name it in the function declaration. To make a parameter optional do nothing at all. If it is there use it, and if not not. How do you access unnamed parameters? Use the Arguments array which contains an element for each passed parameter – both required and not. (Applies to: ColdFusion 5 or later)

Leave a Reply