---- START NEW MESSAGE --- Received: from cherry.ease.lsoft.com [209.119.0.109] by dpmail10.doteasy.com with ESMTP (SMTPD32-8.05) id A7DA3C6B00D8; Sun, 01 Feb 2004 11:47:38 -0800 Received: from PEAR.EASE.LSOFT.COM (209.119.0.19) by cherry.ease.lsoft.com (LSMTP for Digital Unix v1.1b) with SMTP id <20.00CC7E2C@cherry.ease.lsoft.com>; 1 Feb 2004 14:47:30 -0500 Received: from MITVMA.MIT.EDU by MITVMA.MIT.EDU (LISTSERV-TCP/IP release 1.8e) with spool id 2212 for PICLIST@MITVMA.MIT.EDU; Sun, 1 Feb 2004 14:47:24 -0500 Received: from MITVMA (NJE origin SMTP@MITVMA) by MITVMA.MIT.EDU (LMail V1.2d/1.8d) with BSMTP id 2721; Sun, 1 Feb 2004 14:46:40 -0500 Received: from mta201-rme.xtra.co.nz [210.86.15.144] by mitvma.mit.edu (IBM VM SMTP Level 430) via TCP with SMTP ; Sun, 01 Feb 2004 14:46:08 EST X-Comment: mitvma.mit.edu: Mail was sent by mta201-rme.xtra.co.nz Received: from web1-rme.xtra.co.nz ([210.86.15.186]) by mta201-rme.xtra.co.nz with ESMTP id <20040201194610.LIXH9030.mta201-rme.xtra.co.nz@web1-rme.xtra.co.nz> for ; Mon, 2 Feb 2004 08:46:10 +1300 Received: from MARGE ([210.86.79.239]) by web1-rme.xtra.co.nz with ESMTP id <20040201194609.SSSJ22869.web1-rme.xtra.co.nz@MARGE> for ; Mon, 2 Feb 2004 08:46:09 +1300 MIME-Version: 1.0 Priority: normal X-mailer: Pegasus Mail for Windows (v4.12a) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body Message-ID: <401E0E36.19431.86CF69@localhost> Date: Mon, 2 Feb 2004 08:45:42 +1300 Reply-To: pic microcontroller discussion list Sender: pic microcontroller discussion list From: steve@TLA.CO.NZ Subject: Re: [PIC]: Make Comment for many lines of code To: PICLIST@MITVMA.MIT.EDU In-Reply-To: <005201c3e869$caf9e250$0100a8c0@xppro> Precedence: list X-RCPT-TO: Status: U X-UIDL: 371856765 > In Turbo Pascal (yes, I know that was a long time ago) you could > comment a line at a time with (* ....comments...*) or a whole block of > Comments with { In the olden days, assemblers had a COMMENT / ENDCOMMENT directive for doing block comments. That seemed to fall out of favour but it was a really useful tool and isn't as ambiguous as the DIY alternatives like #ifdef's, etc. Steve. ========================================== Steve Baldwin Electronic Product Design TLA Microsystems Ltd Microcontroller Specialists PO Box 15-680, New Lynn http://www.tla.co.nz Auckland, New Zealand ph +64 9 820-2221 email: steve@tla.co.nz fax +64 9 820-1929 ========================================= -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads .