Please enable JavaScript to view this site.

Executes the if condition based on whether or not a symbol is defined.

Syntax

$ifdef bool exp1 [op] [bool expN]]

  ...

$else

  ...

$endif

exp1

These is a boolean expression composed as follows:

symbol <opr> const

where <opr> is an operator chosen from: >, >=, <, <=, ==, <> and const is a numeric constant

op

Logic operator: and, and not, or, or not, xor (optional)

expN

These is another boolean expression (max. 5 included exp1) (optional)

Note

Priority rules: exp1,.., expN is evaluated first, then the sequence of other expression from left to right is evaluated, with no priority applied, between the various op

 

  

Keyboard Navigation

F7 for caret browsing
Hold ALT and press letter

This Info: ALT+q
Page Header: ALT+h
Topic Header: ALT+t
Topic Body: ALT+b
Contents: ALT+c
Search: ALT+s
Exit Menu/Up: ESC