#define color with 0x prefix
#1

Is it possible to create a #define using another define adding the "0x" prefix?
pawn Code:
#define INLINE_RED FF0000
#define COLOR_RED 0xINLINE_REDFF //would result in 0xFF0000FF
Reply


Messages In This Thread
#define color with 0x prefix - by IllidanS4 - 14.05.2015, 16:42
Re: #define color with 0x prefix - by JaydenJason - 14.05.2015, 16:47
Re: #define color with 0x prefix - by Misiur - 14.05.2015, 17:35
Re: #define color with 0x prefix - by IllidanS4 - 30.05.2015, 10:16

Forum Jump:


Users browsing this thread: 1 Guest(s)