Forum OpenACS Q&A: Re: Problem wiht tcl`s control structure

Collapse
Posted by Jim Lynch on
More generally...

TCL wants to see control structures all on one line, and there are weird exceptions to that... keep pluggin, you'll get used to it

-Jim

Collapse
Posted by Mark Aufflick on
The way I think of it is that a newline ends a tcl command, except inside a pair of {}. So unless you are inside a {} pair, a newline will cause tcl to attempt parse the statement, whether it is complete or not.

Also you can of course escape the newline with a backslash to continue a line.

Collapse
Posted by Irma Gamez on
Thank you very much.