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?

Was it helpful?

Solution

info patchlevel

which is the value of tcl_patchlevel

see tcl tutorial

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
scroll top