On 2002.11.08, Peter M. Jansson <[EMAIL PROTECTED]> wrote:
> On Thursday, November 7, 2002, at 09:27 PM, Gabriel Ricard wrote:
> >
> > if { [check $something] == 1 } {
> > %>
> > <b>break out of Tcl mode and process some HTML
> >conditionally</b>
> > <%
> > }
> >
>
> <adp_remember name="conditional1">
> <b>special blah</b>
> </adp_remember>
> <%
> if [check $something] {
> adp_recall "conditional1"
> }
> %>
This is how I implement this:
<%
if {[check $something] == 1} {
ns_adp_puts {
<b>break out of Tcl mode and process some HTML
conditionally</b>
}
}
%>
Personal preference, I guess.
-- Dossy
--
Dossy Shiobara mail: [EMAIL PROTECTED]
Panoptic Computer Network web: http://www.panoptic.com/
"He realized the fastest way to change is to laugh at your own
folly -- then you can let go and quickly move on." (p. 70)