Figured it out, I wrote the conditional loop on the notion that it would
only check the condition after and not before an iteration , I guess like a
DO <condition> UNTIL kinda' loop.

-----Original Message-----
From: Kevin Gilchrist [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 06, 2001 5:52 PM
To: CF-Talk
Subject: Nested Loop limit?


Hi All,

I've just added some code to my current project that has three-deep nested
loops but the third loop doesn't seem to be processed by CF.  
Is there a limit as to how many loops you can nest within each other?

I've been tracing through the code with the debugger and I'm pretty sure it
just skips over the third loop, (causing a nice little infinite loop in the
process too).

Code is of the form

<CFLOOP index type loop>

        <CFLOOP condition>

                Do stuff
        
                <CFLOOP condition>
                        increment a counter (this doesn't get touched)
                </CFLOOP>

        </CFLOOP>

</CFLOOP?

Thanks,
Kevin
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to