probably x= js.get("x") If that does not work, the failure mode would be instructive.
-- Raul On Sun, Feb 12, 2012 at 7:18 AM, Jabran Noor <jabran.n...@gmail.com> wrote: > Does anyone have experience of automating J from Ruby using WIN32OLE. > > I am using the following code in Ruby > > require 'win32ole' > > js = WIN32OLE::new('jexeserve') > > js.do ('x=: i.4 5') > > > > Now how do i get back the value of x into ruby variable? > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm