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.
  724  855  599  923  575  468  400  206  147  564  878  823  652  556 bxor cross forever
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

Possibly Related Threads…
Thread Author Replies Views Last Post
Question using $color:32 colour names mid-program? hskakw 2 207 01-14-2026, 09:30 AM
Last Post: hskakw
  Arbitrary CONST values Unseen Machine 31 2,891 10-29-2025, 05:44 AM
Last Post: bplus
  _CLEARCOLOR evety color EXCEPT ...? madscijr 4 850 04-27-2025, 10:51 PM
Last Post: TempodiBasic
  sleep command in compiler no warning doppler 3 805 01-11-2025, 02:57 PM
Last Post: SMcNeill
  _Keyhit is devilishly evil ... here's why (warning) doppler 3 760 09-15-2024, 02:09 PM
Last Post: doppler

Forum Jump:


Users browsing this thread: 1 Guest(s)