The $Rep loop macro-command executes the Sequence of the macro-commands Expr number of times.
$Rep (Expr) Sequence $End
Elements
Expr
Expression, evaluated once on loop initialization.
Sequence
Sequence to be executed Expr times.
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.