On 05/11/2018 08:59 AM, heinrichmartin wrote:
> is the following observation correct?
>
> "[return -code ok -level ${n+1}] behaves exactly like [return -code return -level $n]"
> (in the script domain (not C), for non-negative integers $n, and for [set n+1 [expr {$n+1}]])
Yes.
> If yes, then why two separate codes?
Support for the established syntax of [return] that existed prior to the
introduction of the -level option.
--
| Don Porter Applied and Computational Mathematics Division |
|
donald...@nist.gov Information Technology Laboratory |
|
http://math.nist.gov/~DPorter/ NIST |
|______________________________________________________________________|