Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!genrad!decvax!cca!lmi-angel!wsr From: wsr@lmi-angel.UUCP (Wolfgang Rupprecht) Newsgroups: net.unix-wizards,net.lang.c Subject: Re: #define kinda stuff, (really comment symbols) Message-ID: <28@lmi-angel.UUCP> Date: Wed, 23-Apr-86 22:31:47 EST Article-I.D.: lmi-ange.28 Posted: Wed Apr 23 22:31:47 1986 Date-Received: Sat, 26-Apr-86 06:36:12 EST References: <1458@cwruecmp.UUCP> <239@mrstve.UUCP> <17333@rochester.ARPA> Reply-To: wsr@lmi-angel.UUCP (Wolfgang Rupprecht) Distribution: net Organization: LISP Machine, Inc (Cambridge Engineering HQ) Lines: 28 Xref: watmath net.unix-wizards:17807 net.lang.c:8735 (bug-food-p) t Speaking of strange comment symbols, has anyone else noticed how the mirror image nature of C's comments allows for this strange hack? If you really want to have fun, you can use /*/ 's as the comment symbol. This symbol is either a start OR end of a comment, depending on where its used! One could write two intermingled programs this way. (This was inspired by mony-python's '3 sided' record, where 2 grooves were on one side. The luck of the draw determined which track you got.) /* remove the end comment to compile the other groove ---> */ /*/ /*/ main(){printf("Groove 1\n");} /*/ main(){printf("Groove 2\n");} /*/ /* thats all folks */ Not useful, just strange.... -wr -- Wolfgang Rupprecht {harvard|cca|mit-eddie}!lmi-angel!wsr