$ifdef (compiler directive)

With $ifdef, you can test if a symbol is defined. This enables you to conditionally compile or leave out blocks of code.

Example:

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

See Also
Compiler directives

$ifdef