Name

$IfNDef Compiler Directive

Syntax

{$IfNDef Name}
   ...
{$Endif}

Scope

Local

Description

$IfNDef is similar to $IfDef except that it tests whether Name is not defined. See $IfDef for an explanation and example.

See Also

$Define Compiler Directive, $Else Compiler Directive, $Endif Compiler Directive, $IfDef 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.