ArrayPrepend; Adding elements to an array in Basic array techniques in the Developing ColdFusion Applications History Coldfusion 10: Added the merge argument ColdFusion MX: Changed behavior: this function can be
This appears to be some kind of Bug, unless I am missing something... It looks like ColdFusion is waiting until the loop is done before calling ArrayAppend() for all the loops. This works fine if you explicitly create the structures inside the function, but not so much if you are using...