ActiveState Community

Suppress Return Value Echo

Posted by troyd on 2009-04-09 14:15
OS: All / Any

Does anyone know if there is a way to suppress the echoing of return values when in an interactive tclsh?

Thanks

patthoyts | Thu, 2009-04-09 15:48

eg: set x 123; set junk {}
or

proc K {a b} {set a}

K {} [set x 123]

but really -- why worry about it?

troyd | Thu, 2009-04-09 15:58

Because I'm using an application that crashes if the returned string is too large.