ts wrote: > > >>>>> "J" == Johann Spies <js / adept.co.za> writes: > > J> This is on ruby 1.4. Is it different on 1.6? > > This is the same, the reason is because 'line' is a local variable for > 'eval.rb' > > Try it with irb > > Guy Decoux Or try the revised eval.rb, http://www.cs.iastate.edu/~slagell/ruby/eval.rb It requires an ANSIfied terminal (UNIX: no problem; DOS: use ansi.com or ansi.sys).