The $If macro-command implements conditional execution of the macro sequence fragments.
$If (Expr) TruePart [$Else FalsePart] $End
Elements
Expr
Conditional expression.
TruePart
Execute if Expr is true.
FalsePart
Execute if Expr is false.
Notes
It is impossible to use macro-language elements while recording
a macro in a usual way. Macro-language elements can be added to the sequence only by editing
the registry manually or by using special applications or FAR plugins.