Searching \ for '[PIC]: Re: Comments in MPLAB' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/microchip/languages.htm?key=mplab
Search entire site for: 'Re: Comments in MPLAB'.

Exact match. Not showing close matches.
PICList Thread
'[PIC]: Re: Comments in MPLAB'
2002\06\19@135535 by Karl Seibert

flavicon
face
Quoting Pic Dude <spam_OUTpicdudeTakeThisOuTspamAVN-TECH.COM>:
> 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.

Look up Conditional Assembly Directives.  You can do the following:
IF 0
      unwanted code
ENDIF

Karl

--
http://www.piclist.com#nomail Going offline? Don't AutoReply us!
email .....listservKILLspamspam@spam@mitvma.mit.edu with SET PICList DIGEST in the body


2002\06\19@143110 by Pic Dude

flavicon
face
I just tried the macro definition wrapped around the
code to be commented out (as suggested by Wooter), and
it did the trick -- it did not compile this piece since
it was not called.

Sweet!

Thanks,
-Neil.


{Original Message removed}

More... (looser matching)
- Last day of these posts
- In 2002 , 2003 only
- Today
- New search...