Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!pt.cs.cmu.edu!o.gp.cs.cmu.edu!netnews.srv.cs!swj From: swj@omni.ECE.CMU.EDU (Sea Way Jan) Newsgroups: comp.lang.c Subject: do{..}while 0 (using MACRO) Message-ID: Date: 16 Aug 90 17:21:02 GMT Sender: netnews@cs.cmu.edu (USENET News Group Software) Distribution: comp Organization: Carnegie Mellon University Lines: 15 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