This line assign the value of variable lastline to the variable cmd_rep for use later in the macro. This value represents the command that will be repeated.
Using Constants and Variables in Editor Macros