Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Upcoming changes to CONST may affect your code
#5
[Image: image.png]


Upcoming changes would basically look like the above.

Code: (Select All)
CONST Blue = &HFF0000FF
CONST Blue2 = _RGB32(0, 0, 255)
CONST Blue3 = &HFF0000FF~&

PRINT Blue
PRINT Blue2
PRINT Blue3

Which results in: 

Quote:-16776961
4278190335
4278190335

(I just double checked for you.  As you can see, _RGB isn't affected by the change.)
Reply


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



Users browsing this thread: 15 Guest(s)