help-octave
[Top][All Lists]
Advanced

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

Re: i+++j


From: Martin Helm
Subject: Re: i+++j
Date: Wed, 29 Feb 2012 22:30:50 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.2) Gecko/20120215 Thunderbird/10.0.2

Am 29.02.2012 22:12, schrieb Muhali:
> well yes, but why does it not
>
> k = i+ (++j); disp ([i j k]) ;
> 0  1  1
>
> ?
>
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).


reply via email to

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