From: Joel VanderWerf Date: 2002-07-13T01:40:10+09:00 Subject: Re: for ... else ... end Marcin 'Qrczak' Kowalczyk wrote: > Thu, 11 Jul 2002 08:31:22 +0900, Yukihiro Matsumoto pisze: ... >>Besides, I'm not sure whether YACC allows multiple block syntax. > > > I guess it would like them: if "optional block" is recognizable > after plain args, it should also be recognizable after a block > already occurred. Tcl handles it somehow: if { $x > 0 } { puts positive } { puts nonpositive } It might be nice to be able to write this kind of thing in Ruby. But I think this came up on ruby-talk a while ago and it didn't fly.