From: Wayne Blair Date: 2001-05-19T16:40:05+09:00 Subject: [ruby-talk:15392] xmp Hey, I noticed that when I run xmp the summary for a line is printed after output from the line goes to standard output. I saw this listed as a bug on gotoken's site but xmp hasn't been updated in quite a while. I also noticed that xmp crashes on NameError because it isn't handled. Is anyone working on xmp now? Wayne Example1: C:\>ruby -r xmp/xmp -n -e 'xmp($_, "\%l\t\t\# \%r\n")' x=Array.new # => [] x.push "77" # => ["77"] "77" p x.pop # => nil Example2: C:\>ruby -r xmp/xmp -n -e 'xmp($_, "\%l\t\t\# \%r\n")' x=5 x=5 # => 5 x.bbb /cygdrive/e/ruby/lib/ruby/site_ruby/1.6/xmp/xmp.rb:182:in `eval': (eval):3: unde fined method `bbb' for 5:Fixnum (NameError) from /cygdrive/e/ruby/lib/ruby/site_ruby/1.6/xmp/xmp.rb:182:in `xmp' from -e:1 for x.bbb I expected #!! undefined method `bbb' for # Wayne