[HELP]What's the difference here?
#1

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):
pawn Код:
//First way, without brackets.
#define COLOR    0xFF0000FF
//------
//Second way, with brackets.
#define COLOR    (0xFF0000FF)
What's the difference?

Thank you, and I'm sorry for my bad English.

Best regards!
Reply


Messages In This Thread
[HELP]What's the difference here? - by [DOG]irinel1996 - 09.04.2012, 17:07
Re: [HELP]What's the difference here? - by Jeffry - 09.04.2012, 17:10
Re: [HELP]What's the difference here? - by ViniBorn - 09.04.2012, 17:12
Re: [HELP]What's the difference here? - by Jonny5 - 09.04.2012, 17:12

Forum Jump:


Users browsing this thread: 2 Guest(s)