i am not sure I understand how break can help in breaking the script inside
a procedure. anyway I tried it but the script continues.
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: "yahalom emet" <yahalom@zvia.org.il>
Cc: "Mod_dtcl" <mod_dtcl@tcl.apache.org>
Sent: Tuesday, January 08, 2002 2:16 PM
Subject: Re: terminating script
> "yahalom emet" <yahalom@zvia.org.il> writes:
>
> > 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?
>
> How about 'break' ? I'm not sure it would be that easy to create an
> exit command. I might have to ask around on the newsgroup some...
>
> --
> 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/
|