tcl-mod_dtcl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "yahalom emet" <yaha...@zvia.org.il>
Subject Re: terminating script
Date Tue, 08 Jan 2002 11:49:20 GMT
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" <davidw@dedasys.com>
To: "Mod_dtcl" <mod_dtcl@tcl.apache.org>
Sent: Tuesday, January 08, 2002 1:35 PM
Subject: Re: terminating script


> "yahalom emet" <yahalom@zvia.org.il> 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


Mime
View raw message