ColdFusion UDF’s (User Defined Functions) can be passed to other functions as if they were variables. To pass a UDF to a UDF just refer to it by name (without the parenthesis). This allows you to create functions with callback functions (similar to C’s pointers to functions). (Applies to: ColdFusion 5 or later)
Leave a Reply