i have a problem in filling an array, and thats what i'm doing:
Expand|Select|Wrap|Line Numbers
- for i=0 to filescounter-1
- for j=0 to counter1-1
- if filesArray(i) = secondArray(j) or filesArray(i)= "defaultdispic.jpg"then
- found=1
- end if
- next
- if found=0 then
- helpArray(counter2)=filesArray(i) 'error is here
- counter2=counter2+1
- end if
- found=0
- next
i get an error "Microsoft VBScript compilation (0x800A0401)
Expected end of statement"
(i think that's mean that helpArray() is empty)
i declared these 3 arrays like this:
dim filesArray(30)
dim secondArray(30)
dim helpArray(30)
so friends, what am i doing wrong??????????????????