Compiled Template puts.adp
set __adp_output {}; set __ad_conn_locale [ad_conn locale]
append __adp_output "<html>
<head>
<title>Demo: puts Examples</title>
</head>
<body>
<h2>There's More than One Way to Do it</h2>
<h3>ADP</h3>
"
if {"[ns_quotehtml [lang::util::localize ${x}]]" eq "4"} {
append __adp_output "
x is four
"
} else {
append __adp_output "
x differs from four
"
}
append __adp_output "
<h3>Tcl</h3>
You can call <code>adp_puts</code> from Tcl.
<em>This procedure is undocumented, and its use is deprecated.</em>
<p>
"
if {$x == 4} {
adp_puts "x is four"
} {
adp_puts "x differs from four"
}
append __adp_output "
</body>
</html>
"
set __adp_output