How to find out the Tcl version

Posted: February 18, 2008 in How To
Tags: , ,

Tcl (Tool Command Language) is a very simple, open-source-licensed programming language. Tcl provides basic language features such as variables, procedures, and control, and it runs on almost any modern OS, such as Unix (Linux and non-Linux), MacOS, Windows 95/98/NT/2000/XP/…, PDA systems, and many more. But the key feature of Tcl is its extensibility.

And unlike any other scripting languages, just -v option won’t give you the version of your Tcl, there is a separate variable defined for that, tcl_version. So, just say puts $tcl_version to know your Tcl version.

There is a good Wiki for Tcl users, give a try: wiki.tcl.tk

Advertisements
Comments
  1. Miaoyin says:

    Thanks a lot for the info!

    To get more detailed patch level info, one can use % info patchlevel as in following output:


    % puts $tcl_version
    8.4
    % info patchlevel
    8.4.13

  2. Gangadhar says:

    Miaoyin,

    Thanks a ton for sharing this additional information with us.

  3. guru says:

    Hi Can any tell me how to istall Tcl in linux. Please help me.

  4. Francina says:

    We have decided to open our POWERFUL and PRIVATE web traffic system to the public for a limited time! You can sign up for our UP SCALE network with a free trial as we get started with the public’s orders. Imagine how your bank account will look when your website gets the traffic it deserves. Visit us today: http://voxseo.com/traffic/

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s