Trouble conting.. script out of range

Tech-Archive recommends: Fix windows errors by optimizing your registry



I'm not sure why, but it seems pretty random. I am getting script out of
range here and there. Here is the part im having trouble with now.

Const ARY_ROWS = 2
Const CDC_FIELD= 0

Dim iRow
For iRow = 0 to Ubound(aryImf,ARY_ROWS)
echo iRow
If aryImf(iRow,CDC_FIELD) = strField Then

My output looks like this: (and I don't know why 0 shows 3 times before
the 1).

0001

Microsoft VBScript runtime error '800a0009'

Subscript out of range: 'iRow'
.



Relevant Pages