Functions in Functions?

A user on cf-talk ran across an odd bug today. The error was:

Unable to complete CFML to Java translation.

What was the problem? He had simply tried to define a UDF inside a CFC method. This is not allowed. The same applies to trying to define a UDF inside another UDF. The fix was simple - move the UDF declaration outside the method.

Archived Comments

Comment 1 by Tony Brandner posted on 11/7/2006 at 3:46 AM

Very helpful, thanks!