Forum OpenACS Q&A: Re: Tcl "gotcha" reminder ...

Collapse
Posted by Jeff Davis on
Yeah, it's probably a case like this where the comment is such that what looks like a comment is actually just broken bracing. An example being:
foreach x { 
   set y 1
# } [puts foo] 
which will in fact evaluate the puts for obvious reasons. of course seperate the open brace from the close by a hundred lines and it is less obvious why code in a "comment" is being evaluated :)