'''Intro''' This is a quick little note regarding a common problem Tclers may see: Error strings which are blank apart from " (command bound to event)". It's one of those nasty errors in that it doesn't provide the developer any context to explain what in the code is actually triggering it. '''Cause''' This error is typically seen in dialogs and is triggered when the dialog is closed by the user. The cause is essentially the setting of values and such in -command or in event bindings: grid [button .b -command { set a [someDialog] puts $a (... other code) }] or: bind .b { set a [someDialog] (... other code) } '''Solution''' The best way to avoid this error is to simply ensure that all programming logic launched by -command and events are in the form of single procs: grid [button .b -command someProc] bind .b someProc proc someProc {} { set a [someDialog] (... other code) }] A pleasant side-effect is your code becomes more readable too :-). ---- !!!!!! %| enter categories here |% !!!!!!