This line assign the value of variable lastline to the variable numrep for use later in the macro. This value represents the repetition factor that will be applied to the editor command that will later be prompted for.
The value of the lastline variable is stored to another name because the lastline parameter will be overwritten later in the macro, and a subsequent extract on that parameter would overwrite the value in the lastline variable used in the macro. It also stores the value under a more meaningful name.
![]()
Using Constants and Variables in Editor Macros
