Provided that i is set to 1 before the for loop (var i = 1;), then yes, the loops are identical
..:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com http://cf4em.com -----Original Message----- From: Jason Durham [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 15, 2008 9:08 AM To: CF-Talk Subject: <cfscript> loop versus <cfloop> I'm having a hard time tracking down the source of an error I'm receiving from a recursive function. Are these loops identical? <cfloop from="1" to="#qNav.recordCount#" index="I"> ........ </cfloop> for (; i LTE qNav.recordCount; i=i+1) { ......... } ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:303403 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

