help-octave
[Top][All Lists]
Advanced

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

Re: i+++j


From: Jordi Gutiérrez Hermoso
Subject: Re: i+++j
Date: Wed, 29 Feb 2012 16:49:25 -0500

On 29 February 2012 16:47, Muhali <address@hidden> wrote:
>> 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,

That's because Matlab doesn't have the ++ operator.

- Jordi G. H.


reply via email to

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