Re: Why does this work?

2008-05-22 Thread Casteele/ShadowLord
On 20 May 2008 at 15:53, Barry Brevik wrote: OK, I've stumped myself. I wanted to assign 0 to several variables, except for a single variable that should be set to 1. Before I knew what I was doing I whipped this code into my editor: ($frow = $ax = $bx = $cx = 0)++; ...and it works

Why does this work?

2008-05-20 Thread Barry Brevik
OK, I've stumped myself. I wanted to assign 0 to several variables, except for a single variable that should be set to 1. Before I knew what I was doing I whipped this code into my editor: ($frow = $ax = $bx = $cx = 0)++; ...and it works as I expected. That is, all of the variables are set

Re: Why does this work?

2008-05-20 Thread Jenda Krynicky
From: Barry Brevik [EMAIL PROTECTED] OK, I've stumped myself. I wanted to assign 0 to several variables, except for a single variable that should be set to 1. Before I knew what I was doing I whipped this code into my editor: ($frow = $ax = $bx = $cx = 0)++; ...and it works as I