Overview
| Artifact ID: | 8ba0a6441b888f5a075fe86af3e3ed546f0c46e2 |
|---|---|
| Ticket: | 1834653fffffffffffffffffffffffffffffffff
Funny comments |
| User & Date: | msofer on 2007-11-20 00:34:55 |
Changes
- closedate changed to: "2007-11-19T17:34:55"
- closer changed to: "msofer"
- icomment:
Logged In: YES user_id=148712 Originator: NO That is correct behaviour: braces are parsed before comments in Tcl. This is contrast to C, where comments are removed by the preprocessor before any parsing occurs. Your code is understood exactly as if it were written if { 0 } { puts "00" # } elseif { 1 } { # puts "11" puts "22" } } Please refer to the Tcl.n man page (http://www.tcl.tk/man/tcl8.4/TclCmd/Tcl.htm) and/or the wiki (http://wiki.tcl.tk/462). - login: "msofer"
- mimetype: "text/plain"
- resolution changed to: "Invalid"
- status changed to: "Closed"
- username: "msofer"