| Contents > Developing ColdFusion MX Applications > Writing and Calling User-Defined Functions > Creating user-defined functions > Rules for function definitions |
|
|
|
|
||
The following rules apply to functions that you define using CFScript or the cffunction tag:
You can define a function in the following places:
cfinclude tag. The cfinclude tag must be executed before the function gets called. For example, you can define all your application's functions on a single page and place a cfinclude tag at the top of pages that use the functions.For recommendations on selecting where you define functions, see the sections Using Application.cfm and function include files and Specifying the scope of a function.
|
|
||
| Contents > Developing ColdFusion MX Applications > Writing and Calling User-Defined Functions > Creating user-defined functions > Rules for function definitions |
|
|
ColdFusion 9 | ColdFusion 8 | ColdFusion MX 7 | ColdFusion MX 6.1 | ColdFusion MX | Forums | Developer Center | Bug Reporting
Version 6.1
Comments are no longer accepted for ColdFusion MX 6.1. ColdFusion 8 is the current version.
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/coldfusion/6.1/htmldocs/udfs7.htm