On Fri, 2014-05-02 at 01:06 -0600, Dwayne Reid wrote: > One of the things that really bugs me about C programs is that there=20 > didn't appear to be any easy way to do this simple function. This=20 > thread has shown me that there is something relatively close. It isn't just relatively close, it is identical. In both cases the symbol is replaced by text before assembly/compilation. #define is simply a text replacement, nothing more. The thing that is perhaps a little different is that in C there are a lot more contexts where a text replacement might be used, so sometimes you have to add a little more decoration to the replacement text. But remembering that it is a text replacement that happens in the preprocessor will eliminate any confusion, in both cases. I am convinced that Microchip simply took the #define syntax from C. And they wouldn't be the first. --McD --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .