This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: tclsh - try command
- From: cyg Simple <cygsimple at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 24 Mar 2016 17:38:19 -0400
- Subject: Re: tclsh - try command
- Authentication-results: sourceware.org; auth=none
- References: <56F3F797 dot 3070308 at gmail dot com> <0D835E9B9CD07F40A48423F80D3B5A702EAE67E6 at USA7109MB022 dot na dot xerox dot net>
On 3/24/2016 10:42 AM, Nellis, Kenneth wrote:
> From: cyg Simple
>> Dear list,
>>
>> I'm thinking of using TCL for a development program I'm spearheading.
>> The documentation for TCL http://www.tcl.tk/man/tcl/TclCmd/try.htm show
>> that this is available and I need to use it. But with Cygwin's version
>> I get the following. Why isn't it available?
>>
>> <code interpreter="tclsh">
>> % try {
>> echo "abc"
>> } on error {
>> puts "error"
>> }
>> </code>
>> <result>
>> invalid command name "try"
>> </result>
>>
>> --
>> cyg Simple
>
> Looking at http://www.tcl.tk/man/
> it appears that "try" was new with version 8.6,
> but Cygwin's version is 8.5:
>
> $ tclsh
> % info tcl
> 8.5
> %
>
Thanks, Ken. Building 8.6 from source now. That did resolve this issue.
--
cyg Simple
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple