Forum Discussion
hooleylist
Jan 22, 2009Cirrostratus
I think that hyphens in TCL variables (or class names) need to be bracketed or they'll be interpreted incorrectly:
% set test-variable some_value
some_value
% puts $test-variable
can't read "test": no such variable
% puts ${test-variable}
some_value
It might be easier to use underscores instead of hyphens.
Aaron