From function to Macro
#6

Use #

#%0

I recommend starting from %1 in defines though.


EDIT: Oh, so that wasn't the problem. Uhm, defines can only use one " if() something; "
Why don't you just keep the function and make it like this then:

Код:
#define Checkx(%1); FunctionCheckx(#%1);

Checkx(noob);
Well you get the idea..
Reply


Messages In This Thread
From function to Macro - by UsaBoy91 - 10.04.2010, 17:40
Re: From function to Macro - by ¤Adas¤ - 10.04.2010, 18:39
Re: From function to Macro - by UsaBoy91 - 10.04.2010, 19:03
Re: From function to Macro - by Jefff - 10.04.2010, 19:07
Re: From function to Macro - by ¤Adas¤ - 10.04.2010, 19:11
Re: From function to Macro - by IownU - 10.11.2010, 17:51
Re: From function to Macro - by rs.pect - 10.11.2010, 17:55
Re: From function to Macro - by legodude - 10.11.2010, 19:51
Re: From function to Macro - by rs.pect - 10.11.2010, 20:00
Re: From function to Macro - by The_Moddler - 10.11.2010, 20:19

Forum Jump:


Users browsing this thread: 1 Guest(s)