Delphi Define Directive
Description $IfDef starts a conditional compilation section. Pokemon dark rising rom hack download. If Name is defined (by a prior occurrence of $Define), the source code after the $IfDef directive is.
Delphi Global Define Directive
Conditional compilation is based on the existence and evaluation of constants, the status of compiler switches, and the definition of conditional symbols. Conditional symbols work like Boolean variables: They are either defined (true) or undefined (false). Any valid conditional symbol is treated as false until it has been defined. The $DEFINE directive sets a specified symbol to true, and the $UNDEF directive sets it to false. You can also define a conditional symbol by using the -D switch with the command-line compiler or by adding the symbol to the Conditional Defines box on the Directories/Conditionals page of the Project Options dialog.
Physician's Directive Define
The conditional directives $IFDEF, $IFNDEF, $IF, $ELSEIF, $ELSE, $ENDIF, and $IFEND allow you to compile or suppress code based on the status of a conditional symbol. $IF and $ELSEIF allow you to base conditional compilation on declared Delphi identifiers. $IFOPT compiles or suppresses code depending on whether a specified compiler switch is enabled.
Comments are closed.