The Tcl version numbers can be retrieved from the global Tcl internal variables tcl_version
and tcl_patchLevel
.
set tcl_version
set tcl_patchLevel
An interesting array is tcl_platform
:
array get tcl_platform
=> osVersion 9.4.0 pointerSize 4 byteOrder littleEndian machine i386 platform unix os Darwin user jose wordSize 4