public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* tclsh - try command
@ 2016-03-24 14:19 cyg Simple
  2016-03-24 14:42 ` Nellis, Kenneth
  0 siblings, 1 reply; 3+ messages in thread
From: cyg Simple @ 2016-03-24 14:19 UTC (permalink / raw)
  To: cygwin

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

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: tclsh - try command
  2016-03-24 14:19 tclsh - try command cyg Simple
@ 2016-03-24 14:42 ` Nellis, Kenneth
  2016-03-24 21:38   ` cyg Simple
  0 siblings, 1 reply; 3+ messages in thread
From: Nellis, Kenneth @ 2016-03-24 14:42 UTC (permalink / raw)
  To: cygwin

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
%

--Ken Nellis

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: tclsh - try command
  2016-03-24 14:42 ` Nellis, Kenneth
@ 2016-03-24 21:38   ` cyg Simple
  0 siblings, 0 replies; 3+ messages in thread
From: cyg Simple @ 2016-03-24 21:38 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-03-24 21:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-24 14:19 tclsh - try command cyg Simple
2016-03-24 14:42 ` Nellis, Kenneth
2016-03-24 21:38   ` cyg Simple

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).