"yahalom emet" <[EMAIL PROTECTED]> writes:
> sorry for the late reply...
No problem...
> it was in a tcl script
Tcl scripts are different because they aren't run inside a namespace.
You have to manage things yourself... one smart thing you could do
would be to put everything in a proc:
proc mytclpage { } {
...
...
}
mytclpage
Exits are then performed via 'return'.
> but when I do break insite a ttml file I am also getting:
> invoked "break" outside of a loop
> while executing
> "ReturnAnswer "OP_ERR_XML_FORMAT" "$msg""
> (in namespace eval "::request" script line 311)
> invoked from within
> "namespace eval request {
Strange... for me, this seems to work ok:
<body>
<h1></h1>
<?
puts here
break
puts there
?>
</body>
Even something that simple doesn't work? If that's the case, maybe
it's interacting with something else you've got? An errorscript?
before or after scripts?
--
David N. Welton
Consulting: http://www.dedasys.com/
Free Software: http://people.debian.org/~davidw/
Apache Tcl: http://tcl.apache.org/
Personal: http://www.efn.org/~davidw/