PATH:
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
WIN32OLE
/
Variant
U:RDoc::AnyMethod[iI"[]:ETI"WIN32OLE::Variant#[];TF:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"AReturns the element of WIN32OLE::Variant object(OLE array). ;TI"<This method is available only when the variant type of ;TI"*WIN32OLE::Variant object is VT_ARRAY.;To:RDoc::Markup::BlankLine o; ; [I"REMARK:;To:RDoc::Markup::Verbatim; [I"7The all indices should be 0 or natural number and ;TI")lower than or equal to max indices. ;TI"8(This point is different with Ruby Array indices.) ;TI" ;TI"4obj = WIN32OLE::Variant.new([[1,2,3],[4,5,6]]) ;TI"p obj[0,0] # => 1 ;TI"p obj[1,0] # => 4 ;TI",p obj[2,0] # => WIN32OLE::RuntimeError ;TI"-p obj[0, -1] # => WIN32OLE::RuntimeError;T:@format0: @fileI"$ext/win32ole/win32ole_variant.c;T:0@omit_headings_from_table_of_contents_below0I"0variant[i,j,...] #=> element of OLE array. ;T0[ I"(*args);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]