Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Color CONST Warning v1.5+
#1
Bug 
I just ran into the problem again last night, checking out an old program that worked fine before version 1.5

This WAS a set of CONST's (without suffix because at one time you didn't need suffix for a CONST)
Code: (Select All)
Dim Shared As _Unsigned Long skyC, ballC, groundC, cannonC, printC '  fix color Const for v 2.0 and 1.5 broken too
skyC = &HFF9988FF
ballC = &HFF000000
groundC = &HFF405020
cannonC = &HFF884422
printC = &HFFEEDDCC
]

I was reviewing a Mod I made of Ken's Artillary program years ago and surprised the dang cannon balls were blowing up at the ends of the cannons not having moved a pixel!?!? WTH

The Point value for sky was not matching the color Const for skyC.

Oh yeah, something (not so) funny happened to Color constants and now they need suffix or the above fix.

 I am classifying this as a bug because code is not compatible with the past.
b = b + ...
Reply


Messages In This Thread
Color CONST Warning v1.5+ - by bplus - 05-05-2022, 04:31 PM
RE: Color CONST Warning v1.5+ - by SMcNeill - 05-05-2022, 05:29 PM
RE: Color CONST Warning v1.5+ - by bplus - 05-05-2022, 05:46 PM
RE: Color CONST Warning v1.5+ - by Pete - 05-05-2022, 06:13 PM



Users browsing this thread: 3 Guest(s)