Re: Compound expression and order of evaluation
- From: Arjen Markus <arjen.markus@xxxxxxxxxx>
- Date: 1 May 2007 01:25:27 -0700
On 1 mei, 10:00, suchenwi <richard.suchenwirth-bauersa...@xxxxxxxxxxx>
wrote:
Jeff Hobbs schrieb:
Yes, order of evaluation is left to right in Tcl expressions and does
proper short-circuiting.
With, iirc, the exception of the ** exponentiation operator new in 8.5
iirc, which is right-associative, so that in
$a**$b**$c
first $b**$c is computed, then $a raised to that power.
Yes, that is the _only_ exception. (When it was introduced, it was
left-associative,
but that turned out to be rather confusing ;))
Regards,
Arjen
.
- Follow-Ups:
- Re: Compound expression and order of evaluation
- From: Mark Janssen
- Re: Compound expression and order of evaluation
- References:
- Re: Compound expression and order of evaluation
- From: suchenwi
- Re: Compound expression and order of evaluation
- Prev by Date: Re: Compound expression and order of evaluation
- Next by Date: Re: Compound expression and order of evaluation
- Previous by thread: Re: Compound expression and order of evaluation
- Next by thread: Re: Compound expression and order of evaluation
- Index(es):
Relevant Pages
|