Home > Software engineering >  Master come in please, urgent urgent!!!!!!!!!! (color constant definition)
Master come in please, urgent urgent!!!!!!!!!! (color constant definition)

Time:10-07

Vb color constants defined as public const red=& amp; HFFOOFF
Excuse me how pb in definition statement???????

CodePudding user response:

Is the hexadecimal FF00FF, not OO
In the PB can use RGB,0,255 (255) also can be directly to write 16711936

CodePudding user response:

Clearly, which pb, original concept? Powerbasic? Purebasic? .

CodePudding user response:

Whether it's original concept, powerbasic, purebasic, or something else, constant is just a number.
Define it is just for the sake of easy to remember. No matter whether you define it, how much or how much.
So you direct & amp; HFF00FF in program with the same results.
  • Related