AbbaRue #1 I have never seen a line like this before. for i = 0 to i = n step 1 I would rewrite that line as follows. for i = 0 to n that should work fine.