Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
byte loops (*solved*)
#8
britlion Wrote:Interesting.

Looks to me as though it's an issue if the gap from start -> end is greater than the range of the variable that's holding them....

ie bigger than 128 for a byte
or 32767 for an integer.
It's exactly that (after debugging yesterday night). Basically, when end - start overflows.
This is not a bug in for, but (again :!Smile with relational operators ("comparators") for signed values, so (a < b) for signed should fail also. It seems a regression bug when reintroduced in 1.2.8 after the "hard refactorization II".
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)