I came across a post by John Wish that showed an example of Closures, however I saw an immediate issue with the very first example. When it was raised on theRailomailing list, I am shocked to see that people have not seen this issue, or have misunderstood the issue.
The post can be found herehttp://www.aliaspooryorik.com/blog/index.cfm/e/posts.details/post/386
Now as you can see if you run this inRailoit will run and give the results that John says it does, however inColdFusionit will error and for very good reason too. The code is as follows.