Thanks shmem. I have realized the problem with my code initially and couldn't think of a way to fix the offset going outside of the @copy array
The second solution using array values is precise and clear . I have tried the code and it yields right results for all the test iterations.
In reply to Re^2: Ignore a range of numbers in a List
by pr33
in thread Ignore a range of numbers ina List
by pr33
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |