in reply to Re: Validate array of numbers in sequence
in thread Validate array of numbers in sequence
This method does not work!
You can not validate the number sequence by simply adding it up. Consider the following lists:
1, 1, 4, 4 and 1, 2, 3, 4. Both add up to 10, but the first list is certainly not in sequence!