This singlescript thing seems to be what I need.
How do I use it?
Can you give an example please?
Thank you
On 10/03/2008, Dossy Shiobara <[EMAIL PROTECTED]> wrote:
> On 2008.03.10, Robert Seeger <[EMAIL PROTECTED]> wrote:
> > Each Tcl block is parsed individually. As such, they need to be sel
On 2008.03.10, Robert Seeger <[EMAIL PROTECTED]> wrote:
> Each Tcl block is parsed individually. As such, they need to be self
> contained. Your best bet is to do something along the lines of:
Unless you turn on "singlescript" where the entire script is
concatenated into a single script, using t
Each Tcl block is parsed individually. As such, they need to be self
contained. Your best bet is to do something along the lines of:
<%
if {[call_tcl_proc_here]} {
ns_adp_puts "The result is 1"
} else {
ns_adp_puts "The result is 0"
}
Hi All,
I am just starting to use adp files and I want to ask if the following
code is possible:
<% if {[call_tcl_proc_here]} { %>
The result is 1
<% } else { %>
The result is 0
<% } %>
I am asking this because when I run this I get a tcl error saying:
missing clos