RAD Studio
ContentsIndex
PreviousUpNext
E2220: Invalid macro argument separator

In a macro definition, arguments must be separated by commas. 

The compiler encountered some other character after an argument name. 

This is correct:

#define tri_add(a, b, c)  ((a) + (b) + (c))

This is incorrect:

#define tri_add(a  b. c)  ((a) + (b) + (c))
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!