From: Arjen M. <arj...@wl...> - 2005-10-04 12:40:25
|
> "Gerald W. Lester" wrote: > > > > IMHO, I would emulate what sqrt() does in expr, namely: > > % expr {sqrt(-1.0)} > domain error: argument not in valid range > % set errorCode > ARITH DOMAIN {domain error: argument not in valid range} > % set errorInfo > domain error: argument not in valid range > while executing > "expr {sqrt(-1.0)}" > > In other words, raise an error -- but be sure to set error code to > some appropriate list of informational elements. > > Sincerly, > Gerald W. Lester Yes, that is what I had in mind. Thanks Regards, Arjen |