[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: i+++j

From: Muhali
Subject: Re: i+++j
Date: Wed, 29 Feb 2012 13:47:30 -0800 (PST)

> The evaluation of an expression is done from left to right as in most
> programming languages except you overwrite that by setting parentheses
> (as you did now in this example).

that makes for an interesting case for matlab. There, operator precedence is
from left to right as well, but we get, for i=j=0,

i++j = 0


View this message in context:
Sent from the Octave - General mailing list archive at

reply via email to

[Prev in Thread] Current Thread [Next in Thread]