Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
for/next/step - did i find a bug?
#2
This has been discussed many times.
You're defining j variable as Uinteger, so a FOR from 16384 DOWNTO 0 will stop when the j variable passes beyond 0, thus negative. This will never happen, because j is always positive (UInteger), so it overflows from 0 to (65535 - 31) and never stops
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)