From: Markus Date: 2004-09-19T07:27:23+09:00 Subject: Re: [Nuby Question] Return value of while loop. On Sat, 2004-09-18 at 12:44, Brian Schræ—¦der wrote: > > :~$ irb > > irb(main):001:0> (i *= 2) > 100 and break i while i = i || 1 > > => 128 > > You won, and I'm even able to grasp what you have written. So no > extra points for obfuscation ;) What were the criteria again? The declared winner (i *= 2) > 100 and break i while i = i || 1 is longer than either (i <<= 1 while (i = i||1) < 100) || i or (i += i while (i ||= 1) < 100) || i and so far as I can see does the same thing. Were they supposed to be obscure? Or not? Or...? -- Markus