$else (compiler directive)

The $else directive can be used in an $ifdef..$endif block to insert a block of code that is compiled if a symbol is not defined.

Example:

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

See Also
Compiler directives

$else