| |
acki4711
Posts: 2
Score: 0
Joined: 11/7/2007
Status: offline
|
Hi all, Is it possible to return an array from a function call ? I always get "Type missmatch" with the following example: Dim arr() arr = F1() ... Function F1() Dim astrGrpMbr(10) Dim iCnt iCnt = 0 While iCnt < 10 astrGrpMbr(iCnt) = CStr(iCnt) & " * " & CStr(iCnt) & " = " & CStr(iCnt * iCnt) WScript.Echo (astrGrpMbr(iCnt)) iCnt = iCnt + 1 Wend F1 = astrGrpMbr End Function
|
|