Tiny Core Base > TCB Q&A Forum
Is there a way to get the TCL version number?
(1/1)
Xianwen Chen:
Hi all,
Is there a way of finding out TCL version number from either a file or a script?
erocynit:
http://tmml.sourceforge.net/doc/tcl/tclvars.html
tcl_patchLevel
When an interpreter is created Tcl initializes this variable to hold a string giving the current patch level for Tcl, such as 8.4.16 for Tcl 8.4 with the first sixteen official patches, or 8.5b3 for the third beta release of Tcl 8.5. The value of this variable is returned by the info patchlevel command.
> tclsh
% puts $tcl_patchLevel
8.3.4
curaga:
The "version" command. Look inside to see which file it opens.
Xianwen Chen:
--- Quote from: erocynit on June 18, 2010, 11:25:08 AM ---http://tmml.sourceforge.net/doc/tcl/tclvars.html
tcl_patchLevel
When an interpreter is created Tcl initializes this variable to hold a string giving the current patch level for Tcl, such as 8.4.16 for Tcl 8.4 with the first sixteen official patches, or 8.5b3 for the third beta release of Tcl 8.5. The value of this variable is returned by the info patchlevel command.
> tclsh
% puts $tcl_patchLevel
8.3.4
--- End quote ---
Hi erocynit,
Thanks a lot for your reply! I'm sorry that I didn't clarify my question. It was abou Tiny Core Linux.
Xianwen Chen:
--- Quote from: curaga on June 18, 2010, 11:32:14 AM ---The "version" command. Look inside to see which file it opens.
--- End quote ---
Hi curaga,
Thanks a lot! Problem solved!
Navigation
[0] Message Index
Go to full version