Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Upcoming changes to CONST may affect your code
#12
(12-29-2023, 08:42 PM)bplus Wrote: It was broken long before when using hex and comparing a Point color to it, so I don't expect it to effect much. l already started using ~& or RGB32() colors to fix graphics I was attempting.

To me this is a long awaited fix, I doubt it will make anything incompatible?
Well, your Sudoku triggered it with me; all colors were black  Smile
With my own code, I only had a few of these and only with colors like Const CLR_RED = &hFFFF0000
now replaced all with  Const CLR_RED = &hFFFF0000~& or Const CLR_RED = _RGB32(255,0,0)
45y and 2M lines of MBASIC>BASICA>QBASIC>QBX>QB64 experience
Reply


Messages In This Thread
RE: Upcoming changes to CONST may affect your code - by mdijkens - 12-30-2023, 09:55 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Arbitrary CONST values Unseen Machine 31 2,891 10-29-2025, 05:44 AM
Last Post: bplus
  VS Code and Qb64 pe Unseen Machine 6 732 09-03-2025, 09:42 PM
Last Post: grymmjack
  has anyone had ChatGPT write QB64 code yet? madscijr 13 2,963 08-23-2025, 09:15 AM
Last Post: doppler
  liquid code experiment madscijr 3 493 06-20-2025, 07:26 PM
Last Post: madscijr
  [split] Lines of Code bplus 20 3,052 01-25-2025, 05:11 PM
Last Post: Pete

Forum Jump:


Users browsing this thread: 1 Guest(s)