QB64 Phoenix Edition
Path doesn't exist for $COLOR constants - Printable Version

+- QB64 Phoenix Edition (https://staging.qb64phoenix.com)
+-- Forum: Official Links (https://staging.qb64phoenix.com/forumdisplay.php?fid=16)
+--- Forum: QB64 Phoenix Edition Wiki and Repo (https://staging.qb64phoenix.com/forumdisplay.php?fid=41)
+---- Forum: Wiki Discussion (https://staging.qb64phoenix.com/forumdisplay.php?fid=25)
+---- Thread: Path doesn't exist for $COLOR constants (/showthread.php?tid=1690)



Path doesn't exist for $COLOR constants - mnrvovrfc - 05-15-2023

This page:
https://qb64phoenix.com/qb64wiki/index.php/$COLOR

has information that no longer applies, checking this out in QB64PE v3.4, as well as v3.7 just now.

This is what it currently has to say about where the $COLOR declarations are located:

Quote:$COLOR:0 adds constants for colors 0-15. The actual constant names can be found in the file source/utilities/color0.bi.
$COLOR:32 adds constants for 32-bit colors, similar to HTML color names. The actual constant names can be found in the file source/utilities/color32.bi.

At this moment:

Code: (Select All)
(qb64pepath)/source

only has BAS files and a couple of folders. There is no "utilities" folder.

The correct path is:
Code: (Select All)
(qb64pepath)/internal/support/color

where "qb64pepath" is the directory were QB64PE was installed.

This is in case somebody is interested in knowing what the color constants are.


RE: Path doesn't exist for $COLOR constants - RhoSigma - 05-16-2023

Fixed, thanks for reporting.