Coming from the land of C / C ++ I'm wondering why the following doesn't work:
set a 111
if {! $a eq {} } {
puts hi
}
I know if I change the 2nd line to if { $a ne {} } {
then it will be fine, but I can't wrap myself around why "!" does not work.
source
to share