>FOR lnCount = 1 TO lnSections > DIMENSION taReferredArray[lnCount] && Here is where the issue occurs > taReferredArray = lcStrippedValue >ENDFORTo something like:
DIMENSION taReferredArray[lnCount] && Here is where the issue occurs FOR lnCount = 1 TO lnSections taReferredArray[lnCount] = lcStrippedValue ENDFOR