Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Upcoming changes to CONST may affect your code
#10
(12-29-2023, 07:55 PM)dbox Wrote: Will this trigger a major version change (4.0)?

I dunno yet.  I guess that'll depend if the other devs think it's a widespread enough glitch to be labeled "code-breaking" and not just "bug-fixing".  Honestly, I don't think many folks will be affected by the change.  How many people are adding &HFFFF + &HFFFFFFFF without already using suffixes?

It has the *potential* to be code breaking, thus the early mention to see who all it might impact, but I really don't think we'll see a lot of people needing to change things to accommodate it.

In hex, the values don't really change.   &HFF000000 OR &HFF will still result in the same &HFF0000FF.  It's just those values are now signed instead of unsigned and that could affect things unintentionally, so-- at the least -- a sturdy warning is warranted, in my opinion, even if we don't get a full version bump from it.  Wink
Reply


Messages In This Thread
RE: Upcoming changes to CONST may affect your code - by SMcNeill - 12-29-2023, 08:32 PM



Users browsing this thread: 5 Guest(s)