Return-Path: Mailing-List: contact mod_dtcl-help@tcl.apache.org; run by ezmlm Delivered-To: mailing list mod_dtcl@tcl.apache.org Received: (qmail 91400 invoked from network); 8 Jan 2002 11:55:05 -0000 Received: from www.zvia.org.il (HELO tmgw.zvia.org.il) (192.116.217.98) by daedalus.apache.org with SMTP; 8 Jan 2002 11:55:05 -0000 Received: from yahalom1 (fw.zvia.org.il [192.116.217.101]) by tmgw.zvia.org.il (8.9.3/8.9.3) with SMTP id OAA01181; Tue, 8 Jan 2002 14:53:34 +0200 Message-ID: <014501c1983a$94477280$080aa8c0@yahalom1> Reply-To: "yahalom emet" From: "yahalom emet" To: "David N. Welton" Cc: "Mod_dtcl" References: <012401c19836$38080470$080aa8c0@yahalom1> <87g05h3wjh.fsf@dedasys.com> Subject: Re: terminating script Date: Tue, 8 Jan 2002 13:49:20 +0200 Organization: Xor MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 Disposition-Notification-To: "yahalom emet" X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N hi I tried but it has problems. I want to exit also in a procedures and then of course return only exits me from the procedure. can't there be a mod_dtcl command for exit? Thanks Yahalom Emet Software Developer Xor Technologies Ltd. Tel: +972 (0)4-6619164 E-mail: yahalom@zvia.org.il Web: http://www.xortechnologies.com ----- Original Message ----- From: "David N. Welton" To: "Mod_dtcl" Sent: Tuesday, January 08, 2002 1:35 PM Subject: Re: terminating script > "yahalom emet" writes: > > > how can I terminate the script before its ending? > > > I use mod_dtcl for generationg xml as a server. when I get bad xml > > request or other wrong request params I want to terminate the > > execution. I need the ending in many places so doing if/then is > > quite clumsy. isn't there a replacement fot the exit command? > > 'return' seems to do an ok job of bailing out, although I'm not sure > it's perfect. Have you tried it? > > -- > David N. Welton > Consulting: http://www.dedasys.com/ > Free Software: http://people.debian.org/~davidw/ > Apache Tcl: http://tcl.apache.org/ > Personal: http://www.efn.org/~davidw/ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: mod_dtcl-unsubscribe@tcl.apache.org > For additional commands, e-mail: mod_dtcl-help@tcl.apache.org