Name
$Else Compiler Directive
Syntax
$Else
Scope
Local
Description
The $Else
compiler
directive starts the else part of a conditional. If the condition is
True, the compiler skips the code between the
$Else
and the $EndIf
compiler
directives. If the condition is False, the compiler compiles source
code in the else part.
See $IfDef
for an example.
See Also
$Define Compiler Directive, $EndIf Compiler Directive, $IfDef Compiler Directive, $IfNDef Compiler Directive, $IfOpt Compiler Directive, $Undef Compiler Directive |
Get Delphi in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.