Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Using CONST & _RGB used together seem to error...
#2
(12-11-2025, 07:43 PM)Dav Wrote: I've noticed only _RGB32 colors can be assigned using CONST, not _RGB ones.  Is this a bug?

'these aren't allowed...
Const bgcolor1~& = _RGB(50, 50, 50)
Const bgcolor2~& = _RGBA(50, 50, 50, 50)

'these are allowed...
Const bgcolor3~& = _RGB32(50, 50, 50)   
Const bgcolor4~& = _RGBA32(50, 50, 50, 50)

- Dav

Check the Type _RGB and _RGBA come in I am pretty sure it is NOT Unsigned Long like _RGB32 and _RGBA32 are, maybe just Long?

Update: Help says Long type but shows example with myColor~& = _RGB(blah, blah, blah) so why is that?
  724  855  599  923  575  468  400  206  147  564  878  823  652  556 bxor cross forever
Reply


Messages In This Thread
RE: Using CONST & _RGB used together seem to error... - by bplus - 12-11-2025, 07:48 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Mac debugger not connecting, a user error! BlameTroi 0 99 02-07-2026, 06:18 PM
Last Post: BlameTroi
  ERROR MESSAGES COLORS ? aurel 5 383 01-02-2026, 11:26 AM
Last Post: aurel
  error doing image collision detection with _MemGet madscijr 55 4,656 10-01-2025, 03:25 PM
Last Post: bplus
  Using CONST Dimster 15 1,304 08-12-2025, 07:27 PM
Last Post: Kernelpanic
  error on function returning _mem Herve 5 682 07-05-2025, 08:06 PM
Last Post: hsiangch_ong

Forum Jump:


Users browsing this thread: 1 Guest(s)