On Sat, 2004-07-17 at 17:10, nobu.nokada / softhome.net wrote:

> But I don't know why it delays until the next line; 

You are right, it doesn't assign anything to the variable, just delays
reporting of the problem. E.g.

[alex@dhcp-89-2 ruby]$ irb
irb(main):001:0> a=%s
irb(main):002:0:
irb(main):003:0> puts "aaa"
SyntaxError: compile error
(irb):2: empty symbol literal
(irb):3: syntax error
puts "aaa"
    ^
        from (irb):3
        from :0