mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-07 17:40:16 +00:00
There's no need for all colors to end up with a new prefix for use between $COLOR and $NOPREFIX. The only conflicts we have are with _Red, _Green, _Blue, so this fix appends a NP_ to the front of the those three color names so they won't conflict with the command names. (NP_ for NoPrefix_)
19 lines
429 B
Text
19 lines
429 B
Text
'$COLOR:0
|
|
'Color constants for text mode, when using $NOPREFIX
|
|
Const Black~%% = 0
|
|
Const NP_Blue~%% = 1
|
|
Const NP_Green~%% = 2
|
|
Const Cyan~%% = 3
|
|
Const NP_Red~%% = 4
|
|
Const Magenta~%% = 5
|
|
Const Brown~%% = 6
|
|
Const White~%% = 7
|
|
Const Gray~%% = 8
|
|
Const LightBlue~%% = 9
|
|
Const LightGreen~%% = 10
|
|
Const LightCyan~%% = 11
|
|
Const LightRed~%% = 12
|
|
Const LightMagenta~%% = 13
|
|
Const Yellow~%% = 14
|
|
Const BrightWhite~%% = 15
|
|
Const Blink~%% = 16
|