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: [EMAIL PROTECTED]
Web: http://www.xortechnologies.com


----- Original Message -----
From: "David N. Welton" <[EMAIL PROTECTED]>
To: "Mod_dtcl" <[EMAIL PROTECTED]>
Sent: Tuesday, January 08, 2002 1:35 PM
Subject: Re: terminating script


> "yahalom emet" <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to