IIF is like an "if-then-else"
construct in programming languages. It functions, however, over
all indexed terms rather than on the record level. If the first
term is present, return the second term, else return the third
term.
If you need an "if-statement"
that functions on each record rather than simply checking if
there are any hits, please use GATE.