Hey Statalist,

I want to find a way in which I can combine multiple lines of codes into one single command. for example, I have many regressions, and I want to run certain commands after each regression. I want to save the workspace and just write one command to run all the same lines at once. Any hint would be appreciated.

ps: one of the codes after each regress is that I want to store each regression's results. So I want to assign each regression a unique name (model1, model2, etc.).

Thanks,