This is really cool! Mark Skeels Engineer Competition Electronics, Inc. TEL: 815-874-8001 FAX: 815-874-8181 www.competitionelectronics.com Dave Tweed wrote: > Bob Ammerman wrote: > >>> I know, but there is something funny going on. I looked at it with >>> 'xxd' and you have a CR/^M/0x0D with no LF/0x0A, and I will bet that's >>> confusing the compiler. >>> >> If that's what is confusing the compiler then the compiler is broken. CR and >> LF are both defined as whitespace characters and any number of consecutive >> whitespace characters is treated as equivalent to a single space. >> > > Well, yes, but the concept of "newline" is still significant, especially > with //-style comments. > > In this case, the compiler is not recognizing a bare CR as a newline, and > therefore, the first line of the function definition is being commented out. > > -- Dave Tweed > -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist