Question: using for/from loops to repeat statement sequences

I'm trying to run two statement sequences, one after the other, numerous times. I have the statement sequences:


>for j from 1 to N do



>end do:


>for j from 1 to N do

>if S[j]>99 then S[j]:=0

>end if:

>end do:



I can manage to run one of them multiple times, but when I try to encompass both of them within my 


>for counter from initial to final do statementsequence

end do:


it doesn't seem to work.


Thanks in advance

Please Wait...