Re: >Try this: > >#define c == 1 >#define d == 2 > >#if CONFIG == c >... >#elif CONFIG == d >... >#endif I presume you meant #define c 1 #define d 2 ... Yes, that works inside of files, but I need to define the symbol _outside_ of any file, e.g. on the compiler's command-line. I don't want to involve any other files ("include on demand") that would contain the #define directive. This is a subtle difference ... -- ______________________________________ Andrew E. Kalman, Ph.D. aek@pumpkininc.com -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu