Hi,<BR><BR>I have an object (from inovaGIS.org) that I create like this<BR><BR>Set ShapeFile=CreateObject("inovaGIS.iShp")<BR>...<BR> <BR>and I have a function in that object that returns a array of double, something like...<BR>record = ShapeFile.getdata(1)<BR><BR>this array starts at 0 and the Lbound, Ubound and VarType correctly identify the array, but when I try to do ...<BR>record(0) or record(1) it says "Type mismatch"<BR><BR>BTW, this function works fine in VB and Delphi but I unable to get it right in VBScript.<BR><BR>Any sugestions ?<BR><BR>Pedro