Initialize all UDF Variables

Local variables within a User Defined Function (UDF) are defined using the var keyword. Variables must follow standard ColdFusion variable naming conventions and rules, and variables must be initialized with an initial value. So, VAR X is not allowed, but VAR X-“” is. (Applies to: ColdFusion 5 or later)

Leave a Reply