When you create a function for an algorithm or procedure that you use frequently, you can then use the function wherever you require the procedure. If you must change the procedure, you change only one piece of code. You can use your function anywhere that you can use a ColdFusion expression: in tag attributes, between number (#) signs in output, and in CFScript code. Typical uses of UDFs include, but are not limited to the following: