From: Kent Dahl Date: 2002-06-12T06:00:38+09:00 Subject: Re: ruby-dev summary 17252-17356 "Hal E. Fulton" wrote: > From: "Yukihiro Matsumoto" > > No, the idea was *not* changing, but providing both. '|...|' is for the > > current block parameters, which is processed by multiple assignment. > > And '<...>' is for function-like parameters, which is processed just > > like method arguments. > > In that case, what does the semicolon > mean? The same, I would assume. Even if the parameter assignment is done like with functions, you wouldn't want the all variables to be local to the block only. Function-like doesn't mean a full-on stacklevel (I hope), but a move away from the sometimes very confusing parallell assignment rules that go into effect in blocks. .... if I understood the pervious posts correctly ... -- (\[ Kent Dahl ]/)_ _~_ __[ http://www.stud.ntnu.no/~kentda/ ]___/~ ))\_student_/(( \__d L b__/ NTNU - graduate engineering - 4. year ) ( \__\_�|�_/__/ ) _)Industrial economics and technological management( \____/_�_\____/ (____engineering.discipline_=_Computer::Technology___)