From: matz@... (Yukihiro Matsumoto) Date: 2002-02-19T13:25:44+09:00 Subject: Re: Problems with Ruby in C Hi, In message "Re: Problems with Ruby in C" on 02/02/19, Joakim Andersson writes: |Why does it print 5 the second time? Because "a" belongs to the toplevel scope. But as you expected, to maximize the usability of rb_eval_string_wrap(), it's better NOT to share the scope. I will consider changing the scope behavior of rb_eval_string_wrap(). matz.