This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Token passing with more then one argument

What's to be done for a substitution with
more than one argument?

Next line

NewStatus(Act, state1)

should be substituted to

if(ActSaved.bits.state1 == SET)

Macro definition (not working):

#define NewStatus(a,b) if(##aSaved.bits.##b == SET)

How is that possible?

Parents Reply Children
No data