From: Jon Bills Date: 2002-02-01T01:53:58+09:00 Subject: Re: OLE VARIANT types in Ruby "Jon Bills" wrote in message news:8fc257870a82ff4d006d07f7d87fbeea.37623@mygate.mailgate.org... > All, > > I would like to use Ruby as my OLE scripting client of choice. > Unfortunately, I'm having trouble in passing Ruby types where a > VARIANT is expected. [snip] I've managed to solve this problem. For anyone who's interested, the required solution is: server.Increment 0 print WIN32OLE::ARGV[0], "\n" where WIN32OLE::ARGV[0] provides access to the 1st out parameter. Jon. -- Posted via Mailgate.ORG Server - http://www.Mailgate.ORG