---- START NEW MESSAGE --- Received: from cherry.ease.lsoft.com [209.119.0.109] by dpmail10.doteasy.com with ESMTP (SMTPD32-8.05) id ACBA8874008E; Sat, 31 Jan 2004 09:58:18 -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 <17.00CC6969@cherry.ease.lsoft.com>; Sat, 31 Jan 2004 12:33:33 -0500 Received: from MITVMA.MIT.EDU by MITVMA.MIT.EDU (LISTSERV-TCP/IP release 1.8e) with spool id 9796 for PICLIST@MITVMA.MIT.EDU; Sat, 31 Jan 2004 12:33:27 -0500 Received: from MITVMA (NJE origin SMTP@MITVMA) by MITVMA.MIT.EDU (LMail V1.2d/1.8d) with BSMTP id 2574; Sat, 31 Jan 2004 12:33:26 -0500 Received: from harrier.mail.pas.earthlink.net [207.217.120.12] by mitvma.mit.edu (IBM VM SMTP Level 430) via TCP with ESMTP ; Sat, 31 Jan 2004 12:32:55 EST X-Comment: mitvma.mit.edu: Mail was sent by harrier.mail.pas.earthlink.net Received: from h-68-166-232-18.cmbrmaor.dynamic.covad.net ([68.166.232.18] helo=CONSULTA-P97R9Q.nowhere.com) by harrier.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 1AmyzJ-0003L0-00 for PICLIST@MITVMA.MIT.EDU; Sat, 31 Jan 2004 09:32:57 -0800 References: <37FB7AA6F5F9814FB634A7BF4C35A6F5640D0A@ESEALNT442.al.sw.ericsson.se> Message-ID: Date: Sat, 31 Jan 2004 09:32:57 -0800 Reply-To: pic microcontroller discussion list Sender: pic microcontroller discussion list From: Dave Tweed Subject: Re: [PIC]: Make Comment for many lines of code To: PICLIST@MITVMA.MIT.EDU Precedence: list X-RCPT-TO: Status: U X-UIDL: 371856697 Jan-Erik Soderholm XA (TN/PAC) wrote: > #LEE CHUN YONG# wrote : > > > I just want to know how to make comment for more than 1 line > > of code besides the brute-force which is done by putting > > semicolon( ; ) to each line of code. Thanks in advance. Cheers. ;) > > You don't say, so I have to assume that you are talking about > MPASM assembler, right ? > I don't know of any other way then a ";" on each line, and > I don't think there are. if 0 . . . . endif works just as well on general text (comments) as it does on actual code. Just make sure you don't start a line with 'else' or 'endif'. -- Dave Tweed -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu .