@Jared F I think that the issue that Alexandre is running into is this:for i as UInt8 = 10 downto 0 system.debuglog str(i) if i = 255 then exit // Will loop endlessly without an exit next
ireaches 0 it loops back around to 255 (or 65535 in the case of UInt16), so the for loop will run endlessly.
Now, i'm not sure if this is an inherent limitation of trying to use unsigned integers in for loops that iterate down to 0, or if it is a specifically a Xojo bug.
thank you so much.
I thought I was so stupid that I could not even discover a bug so unacceptable.