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 12:42:20 GMT
i am getting this tcl error:

Error: invoked "break" outside of a loop
    while executing
"doit"

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:33 PM
Subject: Re: terminating script


> "yahalom emet" <yahalom@zvia.org.il> writes:
> 
> > 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.
> 
> proc doit { } {
>     puts got
>     break
>     puts here
> }
> 
> doit
> 
> puts there
> 
> For me, this works to stop the script...
> 
> -- 
> 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