Re: Compound expression and order of evaluation



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

.



Relevant Pages

  • Re: Compound expression and order of evaluation
    ... proper short-circuiting. ... With, iirc, the exception of the ** exponentiation operator new in 8.5 ...
    (comp.lang.tcl)
  • Re: WTF patents
    ... IIRC, allegedly perpetual motion machines are an exception to that ...
    (sci.electronics.design)
  • Re: OT: Room for improvement?
    ... IIRC the decision not to run was made ... It is the exception rather than the rule for a VP not to seek the top ... tons of negative political baggage. ...
    (rec.sport.tennis)
  • Re: duplicate code
    ... bool rethrow = ExceptionPolicy.HandleException(ex, "Log Only ... Policy"); if ... wenn eine Exception gefangen wird (was in der Methode nicht der ... IIRC wird der Kompiler hier auch einen Fehler. ...
    (microsoft.public.de.german.entwickler.dotnet.csharp)
  • Re: How to determine if an instance of your program is already running?
    ... You can have your program create a known directory (which IIRC an ... atomic operation). ... be an exception. ... HTH. ...
    (comp.lang.python)