Show: Object Pascal C++
Display Preferences

E2173 Missing or invalid conditional symbol in '$%s' directive (Object Pascal)

From Appmethod Topics
Jump to: navigation, search

Go Up to Error and Warning Messages (Object Pascal) Index

The $IFDEF, $IFNDEF, $DEFINE and $UNDEF directives require that a symbol follow them.

program Produce;



The $IFDEF conditional directive is incorrectly specified here and will result in an error.

program Solve;

(*$IFDEF WIN32*)


The solution to the problem is to ensure that a symbol to test follows the appropriate directives.

Personal tools
In other languages