Path: utzoo!attcan!uunet!vsi!friedl
From: friedl@vsi.UUCP (Stephen J. Friedl)
Newsgroups: comp.lang.c
Subject: Re: defining a comment?
Summary: Here is how to do it
Keywords: preprocessor,comments
Message-ID: <844@vsi.UUCP>
Date: 19 Sep 88 02:07:15 GMT
References: <5438@techunix.BITNET>
Organization: V-Systems, Inc. -- Santa Ana, CA
Lines: 20

In article <5438@techunix.BITNET>, benny@techunix.BITNET (Benny Pinkas) writes:
>
> Can I use the Preprocessor to define a comment? I mean something like:
> 

I'm surprised nobody posted this.  Benny didn't ask about
a portable solution :-), so try this:

# define	STARTCOM	//**/*
# define	ENDCOM		*/**//

This is specifically disallowed by the dpANS, it is not available
everywhere, and it is definitely not something to use for any reason
other than curiosity.  This is intended as a curiosity only.

     Steve
-- 
Steve Friedl    V-Systems, Inc.  +1 714 545 6442    3B2-kind-of-guy
friedl@vsi.com     {backbones}!vsi.com!friedl    attmail!vsi!friedl
------------Nancy Reagan on conductance: "Just say mho"------------