swj@omni.ECE.CMU.EDU (Sea Way Jan) (08/17/90)
I have been following this "do{stmt1;stmt2;...}while 0" suggestion for MACROs. I have a question that is bothering me for a while: Why bother use #define MACRO(..) do{stmt1;stmt2;...}while 0 when you can just use: #define MACRO(..) {stmt1;stmt2;...} Any explanation will be appreciated. Seaway Jan Carnegie Mellon
swj@omni.ECE.CMU.EDU (Sea Way Jan) (08/17/90)
answer found, thanks to all who replied. seaway