From: Conrad Schneiker/Austin/Contr/IBM Date: 2000-10-16T17:17:41+09:00 Subject: [ruby-talk:5578] Re: local variables (nested, in-block, parameters, etc.) Dave Thomas wrote: # matz@zetabits.com (Yukihiro Matsumoto) writes: # # > For example: # > # > lambda{ ...} # > # a,b,c as parameters. # > # d, e, f for local variables valid during the block. # # Seems like the best of both worlds (except you'd probably need a # character other than '|' as the separator, for the case where you want # non-local parameters but local variables. # # lambda { ... } local params and local vars # # lambda { |a,b % c, d| ... } current params and local vars Good point, but looks like expression. How about ";" for this? Conrad Schneiker (This note is unofficial and subject to improvement without notice.)