In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Zoot wrote: [quote="BrooksL"]More dangerous; what if you have a define (or any) directive like '{$DEFINE DEBUGGING} or {$DEFINE DEBUGGING} floating somewhere in a real 'comment statement - wil lthe compiler process it as a valid directive??[/quote] No, they will not. '{$DEFINE XYZ} above means XYZ is defined (true) ''{$DEFINE XYZ} not defined ' { $DEFINE XYZ} not defined etc. Not sure what the issue is? Rather then even "undefining" I would just comment out the define, e.g. [code] '{$DEFINE debugging} '{$IFDEF debugging} 'lots of code that will compile '{$ENDIF} [/code] [code] ''{$DEFINE debugging} '{$IFDEF debugging} 'lots of code that will NOT compile '{$ENDIF} [/code] ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=367635#m402613 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2009 (http://www.dotNetBB.com)