Jan Svitok wrote:
> On 12/1/06, Li Chen <chen_li3 / yahoo.com> wrote:
>> which is so inefficient!
>>
>> WIN32OLE.const_load(excel,  Excel_Const)
>>    end
>> "Excel_Const::Xl3DArea"
>> >Exit code: 0
> See programming ruby, especially the chapter on reflection. THe
> interesting methods are: Module#constants, Module#const_get



Thanks Jan. I haven't touch this chapter yet but I will take a look at 
them. BTW could you browse my last post about "VBA to Ruby code again"? 
I change every constants into the required format and Ruby still 
complains the script.


Li

-- 
Posted via http://www.ruby-forum.com/.