From: Josef 'Jupp' Schugt Date: 2003-06-24T07:43:56+09:00 Subject: Re: Parallel Assignment # a,b=c,d=1,2 Saluton! * D T; 2003-06-23, 21:00 UTC: > OK, I guess: > > a, b = c, d = e, f = 1, 2 > Ruby parse as > a, b = c, (d =e), ( f = 1), 2 Exactely - as in a = 1 c = 2 e = 3 puts a, b = c, d = e, f = 1, 2 1 2 3 1 2 > But I cannot wirte like this either: > (a, b) = (c, d) = (e, f) = (1,2) > > Why ? Possibly because you can write a = c = e = 1 b = d = f = 2 either? Gis, Josef 'Jupp' Schugt