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?
info patchlevel
which is the value of tcl_patchlevel
see tcl tutorial
in addition to other options, you can use:
puts $tcl_version
This has the advantage of working for comically old versions of tcl.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With