From: gwtmp01@... Date: 2005-05-22T06:49:27+09:00 Subject: Re: Multiple return and parallel assignement On May 21, 2005, at 5:35 PM, Martin DeMello wrote: > And a simple rule of thumb to 'implement' it is: every time you > remove a > * on one side of the =, add a [] to the other side. > > *a = 1,2 --> a = [1,2] > *a = *[1,2] --> [a] = [[1,2]] --> a = [1,2] ------------------------^ I think you dropped a '*': *a = *[1,2] --> [a] = [*[1,2]] --> a = [1,2] Is there a single good reference page that summarizes the rules for multiple assignment actual to formal argument assignment (for methods/lambdas) actual to formal argument assignment (for blocks) return expression to lhs assignment I've seen it mentioned that the rules aren't quite identical for all these scenarios. Gary Wright