Re: setTimeout & Arrays??
Quote:
Originally posted by japshire
Can someone help me work this out?
*****************************************************
window.setTimeout "startAdd " & i & "," & iCount & "," & iNum & "," & iPfx, 2000
*****************************************************
iNum and iPfx are both arrays.
I get a type mismatch error whenever I call startAdd like this.
If I call it normally(startAdd i,iCount,iNum,iPfx) everything works fine.
Try using
Code:
window.setTimeout eval("startAdd " & i & "," & iCount & "," & iNum & "," & iPfx, 2000);