There are some subtle differences between CFSCRIPT constructs and their "equivalent" tag-based constructs. I'd wager that's the culprit. The usual suspect: the endpoint of CFLOOP is evaluated once when CFLOOP runs initially, while the endpoint of a CFSCRIPT for loop is evaluated each iteration.
If you post a test case written both ways, I'm sure someone (quite possibly myself) can help figure out the specifics. cheers, barneyb On 12/21/05, Adrian Showater <[EMAIL PROTECTED]> wrote: > Has anyone had issues with cfscript syntax where it doesn't function > correctly? I had an issue in a CFC where I was looping through an array and > then making recursive method calls to the same method doing the looping. > The loop was supposed to make a call for every item in the array, but it > would just make a call for the first item and then apparantly break out of > the loop, as if it was single threaded and could only handle one task at a > time. I then took the same exact code, and formated in as tags with no > additional changes other than to convert the script syntax for the method > call into a cfinvoke tag, and it worked fine. What's up with that? > > Adrian Showalter -- Barney Boisvert [EMAIL PROTECTED] 360.319.6145 http://www.barneyb.com/ Got Gmail? I have 100 invites. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227484 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54