$define (compiler directive)

This compiler directive enables you to define symbols. You can then use the $ifdef directive to test if they are defined. Use the $undef directive to undefine symbols.

Example:

  $define Test  $ifdef Test    ; this code is executed  $endif  $undef Test  $ifdef Test    ; this code is not executed  $endif    

See Also
Compiler directives

$define