Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Is there a limit to nested else statements?

Quote Reply
Is there a limit to nested else statements?
Hi,

Is there a limit to how many nested (sort of) <%else%> statements there can be?

Imagine I have the following

<%if templateID == 75%>
something here
<%else%>
<%if qt1>bla bla bla<%if qt2> bla bla bla<%endif%><%endif%> (Place this line for the next 40 lines below it)

<%endif%>

Is there a limit to it?

For some reason my coding seems to choke at a certain spot but that spot is the same as it is on the other 40 lines .
Quote Reply
Re: [Westin] Is there a limit to nested else statements? In reply to
No there isn't a limit. You most likely have a syntax error somewhere.

Adrian