--On Friday 21 September 2001 12:29 +0100 Kate L Pugh <[EMAIL PROTECTED]> wrote:

> From: Kate L Pugh <[EMAIL PROTECTED]>
>>> I figured it out by going and checking the docs for the 
>>> comma operator. Is that cheating?
>  
> On Fri 21 Sep 2001, Dave Cross <[EMAIL PROTECTED]> wrote:
>> I think it's cheating a _little_ bit. You only looked it up
>> because the way I asked the question implied that there was a
>> trick to it.
> 
> I don't think so.

I'm with Kake on this one: I looked at it and thought, hmmm, statement with
two operators (one with the side-effect of assigning a value to $i) -
what's the precedence? And looked it up because "It may seem to you that
there are too many precedence levels to remember. Well, you're right, there
are" (Camel 3 p88).

I'm still intrigued to know what your middle stage was (wrong answer for
rightish reason).

Jonathan
-- 
Jonathan McKeown, System Administrator, The College of Optometrists
42 Craven Street London WC2N 5NG. Tel: +20 7839 6000 Fax: +20 7839 6800
http://www.college-optometrists.org mailto:[EMAIL PROTECTED]

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

Reply via email to