« Return to Thread: clock format [clock seconds] resets errorInfo in TCL 8.5

clock format [clock seconds] resets errorInfo in TCL 8.5

by Raghav_swami :: Rate this Message:

| View in Thread

Could this be bug with TCL 8.5. Did not see this behavior in TCL 8.4. Looks like "clock format [clock seconds]" is resetting the errorInfo variable. Any suggestions on how to fix this?


% puts $::errorInfo          

% gggg
invalid command name "gggg"

% puts $::errorInfo
invalid command name "gggg"
    while executing
"gggg"

% clock format [clock seconds]
Tue May 22 10:04:39 -0700 2012

% puts $::errorInfo

       

 « Return to Thread: clock format [clock seconds] resets errorInfo in TCL 8.5