From: Jim Freeze Date: 2002-11-26T09:44:22+09:00 Subject: Re: Things That Newcomers to Ruby Should Know (11/24/02) On Tuesday, 26 November 2002 at 9:32:44 +0900, Gavin Sinclair wrote: > Ruby can't/won't replicate this behaviour, so swiping the operators would > mislead. I don't know what a[x += 1] does in Ruby, and I'm not going to ask. It's syntax sugar only, so a[x += 1] = a[x = x + 1] => a[x+1] # => x = x + 1. -- Jim Freeze ---------- There is only one thing in the world worse than being talked about, and that is not being talked about. -- Oscar Wilde