UDF’s (User Defined Functions) return values using the “return” keyword which is the logical ending of any function (any code after a “return” cannot be reached and won’t ever be executed). Multiple returns are allowed but good programming practices (not to mention simplified debugging) dictate that only a single return ever be used. (Applies to: ColdFusion 5)

Leave a Reply