From: Yukihiro Matsumoto Date: 2004-10-04T20:58:25+09:00 Subject: Re: how to escape variable expansion in a block Hi, In message "Re: how to escape variable expansion in a block" on Mon, 4 Oct 2004 19:39:53 +0900, "Robert Klemme" writes: |What about | | TkButton.new( frame ) { | text 'press here' | command proc { self.buttonPressed } | } | |? TkObject initializers swaps self during the execution of the blocks attached to them, to enable attribution call such as "text" or "command". If you want to allow self unchanged, we should seek another model of execution, that might breaks code compatibility. matz.