i am using ole automation to drive some of my processes. the following
code would run properly in other languages like vbscript. but it fails
only in ruby
application = WIN32OLE.new(“Broker.Application”)
analysis.Filter(0, “market”) = 3 # use nasdaq only << ruby
does not allow setting values like this. it errors syntax error,
unexpected ‘=’, expecting $end. however this assignmetn is valid in
vbscript for the same object. is there any other way of doing it.