This was my standard way of bypassing code sections when testing, but I asked about the comments specifically since I needed the code to not be assembled. Thanks, -Neil. -----Original Message----- From: pic microcontroller discussion list [mailto:PICLIST@MITVMA.MIT.EDU]On Behalf Of Roman Black Sent: Friday, June 21, 2002 6:24 AM To: PICLIST@MITVMA.MIT.EDU Subject: Re: [PIC]: Comments in MPLAB Something nobody mentioned yet is just to put a goto block_end (etc) before the code block you want to disable. This has the added advantage of still assembling ALL the code, so code and tables that cross code pages etc will still remain in the same positions in memory, something that really could catch a beginning programmer who is mainly disabling large blocks of their code to test things. -Roman Harold M Hallikainen wrote: > > I do this with conditional assembly. For example, to comment out your > original message, I'd do > > if 0 > > On Wed, 19 Jun 2002 12:24:54 -0500 Pic Dude > writes: > > [PIC seems to be the best tag for this]... > > > > Is there any way to comment out a block of code in MPLAB, w/o > > dropping a semi-colon on every single line? Could not find an > > answer to this in the MPLAB users' guide. -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads