The problem is simply that the OP is making the suggested corrections on a piece of code that is different from what he has presented (as he has admitted in his cross-post on a different forum).
@ tty1x: we cannot guess what other bugs you have in your code if you don't tell us what this code is.
In reply to Re^2: Removal of duplicated element in array.
by Laurent_R
in thread Removal of duplicated element in array.
by tty1x
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |