How do I query Tcl about its version?
-
07-07-2019 - |
Question
There must be an easy way to do this, but I can't find it.
What command can I run within Tcl to get it to introspect and report the version of itself that is running?
Solution
OTHER TIPS
You only need to
puts $tcl_patchLevel
in addition to other options, you can use:
puts $tcl_version
This has the advantage of working for comically old versions of tcl.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow