As currently specified, inclusive iteration will sometimes return the end value and sometimes not. For example, iterating from 4 to 6 in inclusive mode will return the end value 6, but iterating from 6 to 6 in inclusive mode will not return the end value 6.
This lack of regularity makes inclusive mode very awkward to use.
As currently specified, inclusive iteration will sometimes return the end value and sometimes not. For example, iterating from 4 to 6 in inclusive mode will return the end value 6, but iterating from 6 to 6 in inclusive mode will not return the end value 6.
This lack of regularity makes inclusive mode very awkward to use.