Re: Why doesn't foreach return a value



tom.rmadilo wrote:
... Maybe it is more accurate to
say that Tcl evaluation does not return to the script if an
exceptional condition is returned by any command found in that script.

The accurate description of how things work is found here:

http://www.tcl.tk/man/tcl8.5/TclCmd/return.htm

--
| Don Porter Mathematical and Computational Sciences Division |
| donald.porter@xxxxxxxx Information Technology Laboratory |
| http://math.nist.gov/~DPorter/ NIST |
|______________________________________________________________________|
.



Relevant Pages