cyberjupiter:
One question, is there really a difference between using yours and#define NAME1 value
#define NAME2 value
If you want the two macros to always be identical I think PaulS's code is better because it guarantees this. If you decided to change value with your code you would need to change it in two different places. In the code aarg posted, it's better to define each macro separately because they just happen to have the same value by chance and there's no reason to link the two macros together.