🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: be.comp.programming
Article #1316

Re: [JAVA] - prioriteitsregels

#1316
From: Aquila
Date: Mon, 16 May 2005 17:50
23 lines
1725 bytes
alias wrote:

>   int x = 10;
> 
>   a)    x = x + (x = 3);    -> resultaat x = 13;
> 

evaluatie van links naar rechts:
linkse term: x blijft 10
rechtse term: returnvalue 3, x = 3
10 + 3 = 13

>   b)    x = (x = 3) + x;    -> resultaat x = 6;

evaluatie van links naar rechts:
linkse term: returnvalue 3, x = 3
rechtse term: x is nu 3
3 + 3 = 6

Maar natuurlijk is je code al bijzonder ingewikkeld als je dit soort
statements begint te gebruiken...
-- 
"May the source be with you"
Technical Details
Message-ID: <nZKdncV8men2QBXfRVnysQ@scarlet.biz>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.scarlet.biz!news.scarlet.biz.POSTED!not-for-mail
References: <%23ie.92671$T43.5527669@phobos.telenet-ops.be>

Show Full Headers
Complete Article Headers
X-Google-Thread: fcea4,e26a41e9fbbcdb9b
X-Google-Attributes: gidfcea4,public
X-Google-Language: DUTCH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.scarlet.biz!news.scarlet.biz.POSTED!not-for-mail
NNTP-Posting-Date: Mon, 16 May 2005 12:50:35 -0500
From: Aquila <braempje@netscape.net>
Subject: Re: [JAVA] -  prioriteitsregels 
Newsgroups: be.comp.programming
Date: Mon, 16 May 2005 19:50:34 +0200
References: <%23ie.92671$T43.5527669@phobos.telenet-ops.be>
User-Agent: KNode/0.8.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7Bit
Message-ID: <nZKdncV8men2QBXfRVnysQ@scarlet.biz>
Lines: 23
NNTP-Posting-Host: 81.11.226.166
X-Trace: sv3-WZeSNUBbBsxc0AZ+LQOJ7tqfnvym382g7EMHn0idqvYoLSArbp3g6fJD8eD3GZCGsvq9oy+NFYH+Bnr!Tmyr44tOHvqZHf6BKI2RpHXiFyEIWQRzdnBXOymfB31UAEr2RGineUtZJF8HOnN/4UiYLP/IJYU=
X-Complaints-To: abuse@scarlet.be
X-DMCA-Complaints-To: abuse@scarlet.biz
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.32