09.04.2012, 17:07
Hi,
I saw some scripts here in SA-MP Forums with a difference between macros, I mean, between defines.
I saw two ways to define an hexadecimal code for colors (just an example):
What's the difference?
Thank you, and I'm sorry for my bad English.
Best regards!
I saw some scripts here in SA-MP Forums with a difference between macros, I mean, between defines.
I saw two ways to define an hexadecimal code for colors (just an example):
pawn Код:
//First way, without brackets.
#define COLOR 0xFF0000FF
//------
//Second way, with brackets.
#define COLOR (0xFF0000FF)
Thank you, and I'm sorry for my bad English.
Best regards!
