From: Conrad Schneiker/Austin/Contr/IBM Date: 2000-10-19T08:45:57+09:00 Subject: [ruby-talk:5685] Re: local variables (nested, in-block, parameters, etc.) Hi, Matz writes, # Hi, # # In message "[ruby-talk:5659] Re: local variables (nested, in-block, parameters, etc.)" # on 00/10/18, "Conrad Schneiker/Austin/Contr/IBM" writes: # # |Speaking of arguments, maybe |(a), b| could be used (with reference to # |your example) to mean that a's scope transcends the iterator, while b is # |strictly iterator-local. I think this would be cleanest way for the most # |common cases (although if backward compatibility were the top concern, the # |convention would be the other way around). # # I understand your idea, altough `(a),b' is a valid lhs, so that # notation should be changed. OK, would |, b| be any better? Conrad Schneiker (This note is unofficial and subject to improvement without notice.)