-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Je jxauxdo 31 Majo 2001 21:51, vi skribis:
> This would be a partial solution to the
> block problem... since one reason people
> pass existing variables into the |...| list is
> so that they can retrieve the values after
> the block exit.

The other reason for passing existing "variables" to the |...| list is the 
case of:

	class MyScrollBar
		#...
		def value=( newval ) 
			#...
		end
	end
	blah = MyScrollBar.new
	#...
	10.times { |blah.value| }

I'm *really* smitten with the ability to do this; I think it is really 
elegant syntax for an MVC framework.  I, too, have been bitten by the scoping 
rules of |...|, and I can't think of a good way to keep the good things about 
the current implementation of |...| whilst avoiding the bad things.

=== SER   Deutsch|Esperanto|Francaise|Linux|Java|Ruby|Aikido|Dirigibles|GPG
=== http://www.germane-software.com/~ser  jabber.com:ser  ICQ:83578737
"What are politicians going to tell people when the Constitution is gone 
 and we still have a drug problem?" -- William Simpson, A.C.L.U. 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.2 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE7F9PWP0KxygnleI8RAox/AKCSiJUiPbfDxXoP1awL/AxHUbTo0wCgmqIk
XpF3CjgJRmezkioryxb6hHg=
=/L6S
-----END PGP SIGNATURE-----