QB64.org Forum

Active Forums => QB64 Discussion => Topic started by: TempodiBasic on May 11, 2019, 07:48:08 pm

Title: Another issue about _RGB32, CONST and Parser...
Post by: TempodiBasic 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.
Title: Re: Another issue about _RGB32, CONST and Parser...
Post by: FellippeHeitor on May 11, 2019, 11:15:46 pm
Thanks for reporting, TempodiBasic. I'll have a look.