Tomas Matousek wrote:
> Can you describe your scenario where you use the command line? What 
> features you need? It's relatively easy to implement a command line 
> yourself (see e.g. 
> http://blog.tomasm.net/2009/04/15/python-says-hello-to-ruby/). The APIs 
> in Microsoft.Hosting.Shell are mostly legacy and I wouldn't recommend 
> using them.
> 
> Tomas

I tried to store a WinForm in my script scope, and if i could transfer 
the script scope to the command line, that I have a chance to operate 
this WinForm in ruby console. As an example,I could change the title of 
the WinForm in command line like this:

$frm.text="hello,world"

seems in ironpython (refer to 
http://ludovic.chabant.com/devblog/2009/12/24/exposing-global-variables-in-ironpython/)

I can get the global variables via import something, but to ironruby 
whatever require or include, I can not import a global variables.
-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
Ironruby-core mailing list
Ironruby-core@rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core

Reply via email to