$IfOpt Compiler Directive
$IfOpt
is similar
to $IfDef
, except that it tests the state of a
switch compiler directive. Only single-letter switches can be tested.
If the directive is enabled, the
Switch
+
test is True
and Switch
-
is False.
If the directive is disabled,
Switch
+
is False and
Switch
-
is
True.
See $IfDef
for more information.