help-octave
[Top][All Lists]
Advanced

[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

M.


--
View this message in context: 
http://octave.1599824.n4.nabble.com/i-j-tp4432923p4433118.html
Sent from the Octave - General mailing list archive at Nabble.com.


reply via email to

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