Is it possible to conditionally include HTML within an ADP?

Something like this is possible in ASP, PHP or JSP but I can't seem to get it to work 
correctly in my ADP.

<%
    if {condition} {
%>
    some HTML
<%
    }
    else {
%>
    some different HTML
<%
    }
    # more script again
%>

If something like this is not possible, then what is the best possible way to render 
large amounts of conditional HTML? Is there some other feature to TCL/ADP that I'm 
overlooking?

Thanks,

Alex Harvey

Reply via email to