argument type mismatch ??
#2

COL_WHITE is by convention probably defined as an embedded color code:
PHP код:
{FFFFFF// white 
Embedded color codes can only be used in the middle of strings, hence them being embedded:
PHP код:
""COL_WHITE"This is white\n"COL_GREEN"While this is green." 
Colors as function arguments must be in their hexadecimal form:
PHP код:
0xFFFFFFFF //white 
In your case, you should define the color with its hexadecimal value:
PHP код:
#define COLOR_WHITE 0xFFFFFFFF 
Reply


Messages In This Thread
argument type mismatch ?? - by b0b - 22.07.2016, 19:25
Re: argument type mismatch ?? - by AndySedeyn - 22.07.2016, 19:31
Re: argument type mismatch ?? - by Stinged - 22.07.2016, 19:33
Re: argument type mismatch ?? - by b0b - 22.07.2016, 19:38
Re: argument type mismatch ?? - by K0P - 22.07.2016, 19:40
Re: argument type mismatch ?? - by FuNkYTheGreat - 22.07.2016, 19:50
Re: argument type mismatch ?? - by Stinged - 22.07.2016, 19:52

Forum Jump:


Users browsing this thread: 1 Guest(s)