Yes, the reason is VBScript is only a subset of visual basic. You can't really use that form Dim vbArray(2) as Double. In fact, I was suggesting you to try it in Visual Basic or VBA (I use Excel sometimes to do that! :-) As far as the syntax, Dim vbArray(3) is the one that I used with another API and it works fine. BTW, VBScript will pass your data as an array of variant. One good thing about getting older, you don't lose the ages you've been!