title: How to only run certain lines of a long Stata do file code? (e.g. lines 30-3200)
body: <p>I have a very, very long do file which runs different sets of commands every 800 lines or so. (Total about 8000 lines).</p>
  
  <p>It is very cumbersome to select, for example, lines 30-3200 every time to get the code to run. Is it possible to write a command which runs only a segment of a particular code? And possibly multiple segments? e.g. run line 30-3200 and then 4800-5400.</p>
  
  <p>Thanks!</p>