In article <200011300637.BAA12852 / yashi.com>, Yasushi Shoji wrote: > >if end modifier(??) is optional how about > >def foo > print "hello\n" >end #foo > Well, _Ideally_ it would help the interpreter provide more usefull error messages. For example, it would really help in the case of the following: def foo(a) if a < 0 while a < 1 #do something # <---- Oh no, I forgot to close this while block! # <---- The logical error is here end #if if a > 0 while a > 0 #do something end #while end #if if a == 0 print "A is 0!\n" end #if end #def <---- The Interpreter says the error is here. Now imagine something like the above with 200 more lines of code between the end of the while block, and the end of the def block. Because the 'end modifier' (sheez..what should this thing be called?) would have to match the block it's closing, the interpreter could recognise that you were closing the wrong block. Does this make sense? -Drew