The block opened with $IFDEF must be closed by a corresponding $ENDIF directive. Here is an example of how compiler directives might be used correctly:
$define Test $ifdef Test title = "My Formula (test version)" $else title = "My Formula" $endif
See Also
Errors