Given the usage in the OP's code $total_element is the number of element rather than the largest index - this is why C style for loops are so prone to off by 1 errors. ;-)
In reply to Re^2: looking for suggestion!!!
by GrandFather
in thread looking for suggestion!!!
by Sun751
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |