Is TCL version 8.6 supported?


#1

Hi,

Is there any way to install the latest TCL version (8.6 or latest)? I believe the current one is 8.5.9, but some commands do not work with it, like “lmap” and others.

Thanks.
Ivan


#2

Does your question have to do with Atom the editor, or Electron the JavaScript framework?


#3

Hi,
The question is about Atom, the editor (from where you can also run the code.

Regards,
I


#4

Atom has no ability to run code that isn’t JavaScript. Before you can attempt to run code, you first have to install a community package that supports it. What package are you using?


#5

Hi.
Yes, I have installed the following packages.

script
language-tcltk
language-tcl
language-opensees
language-dashtcl
build-tclsh
build

and a few others:

f5-networks-iRules
busy-signal
a10-networks-snippets
a10-networks-aflex

I am able to run some tcl scripts, but as I mentioned, it seems it is running Tcl 8.5.9 (I used “puts $tcl_patchLevel” to check that). 8.6 version has a lot of new commands, which do not work here. Am I missing some important package?

Thanks for the help!

Regards,
Ivan


#6

For example, this very simple code, does not work, since “string cat” was introduced in tcl 8.6

set la {abc def}
set lb {123 456}
string cat $la " " $lb

Regards,
Ivan


#7

This isn’t a package thing. You need to update the version of TCL installed on your computer.