From: utzoo!decvax!harpo!ihnp4!ihldt!ll1!mn Newsgroups: net.unix-wizards Title: Re: Comments in C Article-I.D.: ll1.142 Posted: Mon Nov 29 09:55:23 1982 Received: Tue Nov 30 02:36:54 1982 References: sri-unix.4463 I, for one think that comments in 'C' work fine. The following has been suggested: Here is a real live example of the utility of allowing /* inside comments: if ( (ushort)uid == sbuf.st_uid ) mode <<= 6; /* check user field only */ else if ( (ushort)getgid() == sbuf.st_gid ) mode <<= 3; /* check group field only */ /* else /* mode <<= 0; /* check other field only */ I maintain that a better way to "comment" out a section of code is with ifdef-endif like this: if ( (ushort)uid == sbuf.st_uid ) mode <<= 6; /* check user field only */ else if ( (ushort)getgid() == sbuf.st_gid ) mode <<= 3; /* check group field only */ #ifdef OTHER else mode <<= 0; /* check other field only */ #endif Sure it's more to type, however if one decides to reinstall the commented out code you don't have to wade though the source with an editor. And ifdef's nest. Just to get my $.02 in. Mark Nettleingham (...!ihldt!ll1!mn)