PATH:
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
WIN32OLE
/
Variant
U:RDoc::AnyMethod[iI" array:ETI"WIN32OLE::Variant::array;TT:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [ I"NReturns Ruby object wrapping OLE variant whose variant type is VT_ARRAY. ;TI"JThe first argument should be Array object which specifies dimensions ;TI"/and each size of dimensions of OLE array. ;TI"LThe second argument specifies variant type of the element of OLE array.;To:RDoc::Markup::BlankLine o; ; [I"LThe following create 2 dimensions OLE array. The first dimensions size ;TI"is 3, and the second is 4.;T@o:RDoc::Markup::Verbatim; [I"5ole_ary = WIN32OLE::Variant.array([3,4], VT_I4) ;TI"Mruby_ary = ole_ary.value # => [[0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0, 0]];T:@format0: @fileI"$ext/win32ole/win32ole_variant.c;T:0@omit_headings_from_table_of_contents_below0I"array(ary, vt) ;T0[ I" (p1, p2);T@FI"Variant;TcRDoc::NormalClass00
[-] cdesc-Variant.ri
[edit]
[-] %5b%5d%3d-i.ri
[edit]
[-] value%3d-i.ri
[edit]
[-] new-c.ri
[edit]
[-] array-c.ri
[edit]
[-] %5b%5d-i.ri
[edit]
[+]
..
[-] value-i.ri
[edit]
[-] vartype-i.ri
[edit]