From: Lehmann, E. {TR-I~Penzberg} <eck...@Ro...> - 2004-11-15 06:19:06
|
> I am not expert in tcl, but none of examples/tcl/x??.tcl have=20 > commands with the trailing semicolon followed by commentary=20 > that you put in the above command, and my guess is that (the=20 > semicolon) is causing the parse error. From your later=20 No. The semicolon serves as statement separator, besides newline. The # starts a comment, but will be interpreted as string (like everything in Tcl) if it is not the first character in a statement.=20 So if one wants a comment in the same line together with executable code, she has to separate the comment (starting with #) by a semicolon. It's somewhat strange, but one gets used to it. Eckhard ;) |