Variables Ambiguity Within a UDF

User Defined Functions (UDF’s) may access variables in just about any scope, including the default VARIABLES scope. But what if there is a local (within the UDF) variable of the same name? References to the variable name will refer to the local variable, to refer to the variable in the caller page use the VARIABLES prefix. (Applies to: ColdFusion 5 or later)

Leave a Reply