Define Colors.
#8

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
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.



Definitions are used to be more user-friendly instead of memorizing hexadecimals for each color.
Okay that was helpful for me and thanks for helping.
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)