delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/03/24/10:43:21

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:to:subject:date:message-id:references
:in-reply-to:content-type:content-transfer-encoding
:mime-version; q=dns; s=default; b=yuzgVZbO/Y+7NnUvjQUFPfGsl9XKO
h/MnrcuvWGPMpU7KB8NyI+85TvP360K2h8L5PJ6GwnT39n8DEFqc1G6tyZNCcmaH
Ag5VmsM4r0zbDKRQ15dzWTs+0oYX6NWwiT0QKemZ3WG8IINu9ITBfRrbbaWm1krD
k2xdkv28qrW7a0=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:to:subject:date:message-id:references
:in-reply-to:content-type:content-transfer-encoding
:mime-version; s=default; bh=hRiWzv+1Wy3ynpRgDJ/6AvehxKs=; b=lVE
Eim4BpyASM8FddvdLjkX7Zyl/sJKhbgirwBHTcpdNwvL+F6ZkajDyINl9ImHpcbQ
oOjecZ1Y8x+wE5Gdi+8UHliDRc5Nz9uG2H7uUuqKunyNuLzsOjtPmfop3zACh9KT
cMNV4/iKwMDVbBunIXfuCaLLStEcw7A5x543Gxnw=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.2 required=5.0 tests=AWL,BAYES_60,KAM_LAZY_DOMAIN_SECURITY,KAM_TK,MIME_BASE64_BLANKS autolearn=no version=3.3.2 spammy=TCL, UD:tk, 8.5, cyg
X-HELO: USA7109MR005.ACS-INC.COM
From: "Nellis, Kenneth" <Kenneth DOT Nellis AT xerox DOT com>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: RE: tclsh - try command
Date: Thu, 24 Mar 2016 14:42:42 +0000
Message-ID: <0D835E9B9CD07F40A48423F80D3B5A702EAE67E6@USA7109MB022.na.xerox.net>
References: <56F3F797 DOT 3070308 AT gmail DOT com>
In-Reply-To: <56F3F797.3070308@gmail.com>
MIME-Version: 1.0
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id u2OEhGbl010869

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019