From: ts Date: 2003-05-28T19:18:46+09:00 Subject: Re: Result of && and 'and' >>>>> "B" == Brian Candler writes: B> So if it's not guaranteed, then changing it would break a lot of my code :-) It's in the test for ruby svg% less sample/test.rb [...] # make sure conditional operators work test_check "assignment" a=[]; a[0] ||= "bar"; test_ok(a[0] == "bar") h={}; h["foo"] ||= "bar"; test_ok(h["foo"] == "bar") aa = 5 aa ||= 25 test_ok(aa == 5) bb ||= 25 test_ok(bb == 25) cc &&=33 test_ok(cc == nil) cc = 5 cc &&=44 test_ok(cc == 44) [...] svg% Guy Decoux