, , Indexer, , , . , sht.Range["A1"]. , , , :
sht.get_Range("A1",System.Reflection.Missing.Method)
Boo, Ruby IronRuby, , , . IronRuby , 32- . Ruby, 32- , . 64- Range .
, , Boo Interactive Shell 64- , - interop . , , Boo 32- CORFLAGS.exe, , .
Excel Dotnet Interop, Interop, :
import Microsoft.Office.Interop.Excel
import System.Runtime.InteropServices
xl_type=typeof(Application).GetCustomAttributes(typeof(CoClassAttribute),true)[0].CoClass
xl=xl_type()
xl.Visible=true
xl.Workbooks.Add
:
xl.Range["A1","A2"].Value=12
xl.Range["A1",System.Type.Missing].Value="Alpha"
(xl.ActiveSheet as Worksheet).Range["A1","A2"].Value2='Whatever'
, , "Scriptiness", , ( ).
VB/VBScript, ( # 4.0), , , , , API, ( System.Type.Missing System.Reflection). Excel interop, , , , , , , , .
Ruby , , COM- Boo ( ).
: Sam Ng # 4.0; , , , .