info tclversion

info tclversion

Returns the value of the global variable tcl_version; see the tclvars manual entry for more information.


LES: info tclversion is what newbies use until they discover info patchlevel. :-P


rdt Can someone please explain the differences between: a) $tcl_version and b) [info tclversion] ? RS: One is a global variable (which you could also change), the other is a "sugared" accessor. NEM: which you can also change! (set tcl_version "hello!"; info tclversion)


See also: