This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: tclsh - try command


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]