From: matz@... (Yukihiro Matsumoto) Date: 1997-01-24T10:59:40+09:00 Subject: [ruby-list:1860] Re: command of TkScale まつもと ゆきひろです 試していないんですけど. In message "[ruby-list:1855] command of TkScale" on 97/01/24, Noritugu Nakamura writes: |中村です。 | : scale $w.frame.scale -orient vertical -length 284 -from 0 -to 250 \ | : -command "setHeight $w.frame.canvas" -tickinterval 50 | (略) | : proc setHeight {w height} { | (略) | : } | |という行があるのですが、これをどう |処理したらいいのかという問題です。 scale = TkScale.new { ... command proc{ |height| setHight(scale, height) } } ではだめですか?