Hi everybody,
Stata 12.1 offers the option of executing a do file from the current cursor position in the do editor to the bottom of the do file (<CTRL>-<SHIFT>-<D>). I have never needed this command. However, every time I work with the do editor I miss an option to execute a do file from the top to the position of my cursor. Instead I have to put some nonsense text into the do file that causes an error in order to get Stata to stop at my current cursor position when I run the do file.
Am I overlooking something? Is this function implemented somewhere? And what would I need to option to execute from my cursor to the bottom for, when I practically never can use it because then all the definitions and steps earlier in the do file which are needed for what is farther down to run have not yet been executed.
Anyway, I would be very grateful if somebody could point me to a more elegant solution than having to insert "circuit breakers" into the do file to make it stop where I need it to.
Best regards,
Stefan.
Stata 12.1 offers the option of executing a do file from the current cursor position in the do editor to the bottom of the do file (<CTRL>-<SHIFT>-<D>). I have never needed this command. However, every time I work with the do editor I miss an option to execute a do file from the top to the position of my cursor. Instead I have to put some nonsense text into the do file that causes an error in order to get Stata to stop at my current cursor position when I run the do file.
Am I overlooking something? Is this function implemented somewhere? And what would I need to option to execute from my cursor to the bottom for, when I practically never can use it because then all the definitions and steps earlier in the do file which are needed for what is farther down to run have not yet been executed.
Anyway, I would be very grateful if somebody could point me to a more elegant solution than having to insert "circuit breakers" into the do file to make it stop where I need it to.
Best regards,
Stefan.
Comment