Author Topic: Another issue about _RGB32, CONST and Parser...  (Read 4564 times)

0 Members and 1 Guest are viewing this topic.

Offline TempodiBasic

  • Forum Resident
  • Posts: 1792
    • View Profile
Another issue about _RGB32, CONST and Parser...
« on: May 11, 2019, 07:48:08 pm »
Hi Guys
while I'm attempting to play with QB64 I got this feedback from new IDE messages in the part of warning...
to reply my experience please
Copy and Paste this in QB64ide
Code: QB64: [Select]
  1. CONST True = -1, False = NOT True, Blu = _RGB32(0, 0, 255): CONST Black = _RGB32(0, 0, 0)
  2. CONST Red = _RGB32(255, 0, 0): CONST Green = _RGB32(0, 255, 0)
you must get the message
Quote
OK e warnings
and after click on it  you should get this message
Quote
Costant already defined:same value
line 1: True
line 1: False
line1: Blu
but if you put the colors definition on another line the warnings go away.

I hope this feedback can be useful for QB64 developers.
Programming isn't difficult, only it's  consuming time and coffee

FellippeHeitor

  • Guest
Re: Another issue about _RGB32, CONST and Parser...
« Reply #1 on: May 11, 2019, 11:15:46 pm »
Thanks for reporting, TempodiBasic. I'll have a look.