E
Erche DP
Hello,
I have this small scripts, and is not working since an error occured :
Expected Array!
Therefore, i am wondering, can we fill an array with an integer variable
?
private sub test ()
dim arrtemp as variant, x as integer
for i=0 to 10
arrtemp(i)=x+i 'Error!
next
end sub
Could you suggest, what to fix ?
Thanks.
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
I have this small scripts, and is not working since an error occured :
Expected Array!
Therefore, i am wondering, can we fill an array with an integer variable
?
private sub test ()
dim arrtemp as variant, x as integer
for i=0 to 10
arrtemp(i)=x+i 'Error!
next
end sub
Could you suggest, what to fix ?
Thanks.
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!