Message-Id: <1.5.4.32.19970807204711.0068b5e0@dce03.ipt.br> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Thu, 07 Aug 1997 17:47:11 -0300 To: Teemu Ikonen , djgpp AT delorie DOT com From: Cesar Scarpini Rabak Subject: Re: [Q] expression evaluation order Precedence: bulk At 15:38 07/08/97 +0300, Teemu Ikonen wrote: > Theoretically no, in practise it could work. ^^^^^^^^^^^^^^^^ This affirmation is plainly wrong. See the another post. ANSI C requires the particular order when dealing with logical operators in order the so called "short circuit" rules work. BTW this happens also with ADA. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Cesar Scarpini Rabak E-mail: csrabak AT ipt DOT br DME/ASC Phone: 55-11-268-3522 Ext.350 IPT - Instituto de Pesquisas Tecnologicas Fax: 55-11-268-5996 Av. Prof. Almeida Prado, 532. Sao Paulo - SP 05508-901 BRAZIL ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~