serge_darin@mail.ru <serge_darin@mail.ru> wrote:
> What difference between command chan gets and gets, chan puts and
> puts ?
They are supposed to be the same.
puts is here for compatibility (and for those too
lazy to write those extra 5 chars, like me), whereas
chan is an attempt to have related functionality
together in a single command.
If you're old to tcl, you'll likely be used to
top-level "puts", whereas if you're new to tcl,
you're more likely to memorize only "chan" and
then find "puts" as a subcommand of it.
kind of...