2 ms·
I didn't remember that you can't have a comment inside of a statement, but you're still wrong! It's true that you can't have comments in as many contexts in Tc
by kragen 18y ago
I didn't remember that you can't have a comment inside of a statement, but you're still wrong!
It's true that you can't have comments in as many contexts in Tcl as you can in most languages, but it is not true that they are just ordinary statements; ordinary statements evaluate their arguments. "#" comments don't evaluate their "arguments", don't terminate at semicolons, and you can't redefine the meaning of "#" with "proc", so "#" is special and reserved — just in fewer contexts than in other languages that use it as a comment character.