Tcl Special Characters
The # character is used to skip lines and insert comments. This can be used both from within tkcon as well as from within a Tcl script.
#These two lines are comments and are not executed.
#puts $x_expression;
set x_expression "p1w1c1.x[0:10:0.1]";
invalid command name "0:10:0.1"
set x_expression "p1w1c1.x\[0:10:0.1\]";
puts $x_expression;
p1w1x1.x[0:10:0.01]