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

Reply via email to