Define Colors.
#7

Quote:
Originally Posted by FrAnKiN1
Посмотреть сообщение
Worked but why didnt work with it?
Backslash is used to "join" the code from the next line. Few examples:
PHP код:
new string[] = "This is some \
    string"

or
PHP код:
#define strcpy(%0,%1) \
    
strcat((%0[0] = EOS, %0), %1
So using it in your initial code somehow tries to continue the comment to the next line which is invalid.

Quote:
Originally Posted by KeithCooper
Посмотреть сообщение
Btw, you don't need to define hex colors, they work even if they're not defined.
Definitions are used to be more user-friendly instead of memorizing hexadecimals for each color.
Reply


Messages In This Thread
Define Colors. - by FrAnKiN1 - 15.07.2016, 20:08
Re: Define Colors. - by Konstantinos - 15.07.2016, 20:12
Re: Define Colors. - by FrAnKiN1 - 15.07.2016, 20:14
Re: Define Colors. - by Quinncell - 15.07.2016, 20:15
Re: Define Colors. - by Quinncell - 15.07.2016, 20:19
Re: Define Colors. - by FrAnKiN1 - 15.07.2016, 20:25
Re: Define Colors. - by Konstantinos - 15.07.2016, 20:39
Re: Define Colors. - by FrAnKiN1 - 15.07.2016, 20:41

Forum Jump:


Users browsing this thread: 1 Guest(s)